serde_derive::de

Function has_flatten

Source
fn has_flatten(fields: &[Field<'_>]) -> bool
Expand description

True if there is any field with a #[serde(flatten)] attribute, other than fields which are skipped.