Return all the field's attributes related to `serde`
(&self)
| 311 | |
| 312 | /// Return all the field's attributes related to `serde` |
| 313 | pub fn serde_attrs(&self) -> Vec<&syn::Attribute> { |
| 314 | self.field |
| 315 | .attrs |
| 316 | .iter() |
| 317 | .filter(|attr| attr.path().is_ident("serde")) |
| 318 | .collect() |
| 319 | } |
| 320 | |
| 321 | // ASSERTION |
| 322 |
no test coverage detected