add #[serde_with_macros::skip_serializing_none] annotation to the impl_payload output

This commit is contained in:
Waffle 2020-11-02 02:21:02 +03:00
parent 5ddbd50b37
commit 106c49fa46

View file

@ -159,6 +159,7 @@ macro_rules! impl_payload {
)?
}
) => {
#[serde_with_macros::skip_serializing_none]
$(
#[ $($method_meta)* ]
)*