fn get_attributes( attr: &Attribute, ident: &str, ) -> Option<BTreeMap<String, Option<String>>>
Collects all the attributes from a given field.