Structures that have a hand-written serialize impl can't use skip_serializing_none

This commit is contained in:
Oleg A 2023-05-02 01:12:01 +03:00
parent 15d2f0e3f5
commit 2d55d1aa47
No known key found for this signature in database
GPG key ID: 5FE046817A9657C5

View file

@ -31,7 +31,6 @@ use crate::types::InputSticker;
/// This object represents the contents of a file to be uploaded.
///
/// [The official docs](https://core.telegram.org/bots/api#inputfile).
#[serde_with_macros::skip_serializing_none]
#[derive(Debug, Clone)]
pub struct InputFile {
id: OnceCell<Arc<str>>,