pub fn strip_serde_attrs(field: &Field) -> Field {
    let mut field = field.clone();
    field.attrs.retain(|attr| !attr.path.is_ident("serde"));
    field
}
/// Removes `serde` attributes from struct fields.
Removes `serde` attributes from struct fields.
Removes ` serde ` attributes from struct fields .
pub fn strip_serde_attrs(field: &Field) -> Field {
    let mut field = field.clone();
    field.attrs.retain(|attr| !attr.path.is_ident("serde"));
    field
}
pub fn strip_serde_attrs ( field : & Field ) -> Field { let mut field = field . clone ( ) ; field . attrs . retain ( | attr | ! attr . path . is_ident ( " " ) ) ; field }
Removes `serde` attributes from struct fields.
Removes ` serde ` attributes from struct fields .
field
&Field
field
&Field