Return all the field's attributes that are unrelated to validify and serde
(&self)
| 302 | |
| 303 | /// Return all the field's attributes that are unrelated to validify and serde |
| 304 | pub fn remaining_attrs(&self) -> Vec<&syn::Attribute> { |
| 305 | self.field |
| 306 | .attrs |
| 307 | .iter() |
| 308 | .filter(|attr| !validify_attr_check(attr) && !attr.path().is_ident("serde")) |
| 309 | .collect() |
| 310 | } |
| 311 | |
| 312 | /// Return all the field's attributes related to `serde` |
| 313 | pub fn serde_attrs(&self) -> Vec<&syn::Attribute> { |
no test coverage detected