This combines all the serde and builder settings for the API structs into a single macro. serde_with::skip_serializing_none allows removing all the #[serde(skip_serializing_if = "Option::is_none")].
Doing something similar for the enums results in more lines before, so I just cleaned them up to use the same order of derives.
This combines all the serde and builder settings for the API structs into a single macro.
serde_with::skip_serializing_none
allows removing all the#[serde(skip_serializing_if = "Option::is_none")]
.Doing something similar for the enums results in more lines before, so I just cleaned them up to use the same order of derives.
Nothing of this PR should be breaking.