Lines Matching refs:attrs

32             if cont.data.has_getter() && cont.attrs.remote().is_none() {  in check_getter()
61 if !field.attrs.flatten() { in check_flatten_field()
98 cont.attrs.identifier(), in check_identifier()
99 variant.attrs.other(), in check_identifier()
100 cont.attrs.tag(), in check_identifier()
180 if variant.attrs.serialize_with().is_some() { in check_variant_skip_attrs()
181 if variant.attrs.skip_serializing() { in check_variant_skip_attrs()
194 if field.attrs.skip_serializing() { in check_variant_skip_attrs()
204 if field.attrs.skip_serializing_if().is_some() { in check_variant_skip_attrs()
216 if variant.attrs.deserialize_with().is_some() { in check_variant_skip_attrs()
217 if variant.attrs.skip_deserializing() { in check_variant_skip_attrs()
228 if field.attrs.skip_deserializing() { in check_variant_skip_attrs()
254 let tag = match cont.attrs.tag() { in check_internal_tag_field_name_conflict()
270 let check_ser = !field.attrs.skip_serializing(); in check_internal_tag_field_name_conflict()
271 let check_de = !field.attrs.skip_deserializing(); in check_internal_tag_field_name_conflict()
272 let name = field.attrs.name(); in check_internal_tag_field_name_conflict()
280 for de_name in field.attrs.aliases() { in check_internal_tag_field_name_conflict()
296 let (type_tag, content_tag) = match cont.attrs.tag() { in check_adjacent_tag_conflict()
314 if !cont.attrs.transparent() { in check_transparent()
318 if cont.attrs.type_from().is_some() { in check_transparent()
325 if cont.attrs.type_try_from().is_some() { in check_transparent()
332 if cont.attrs.type_into().is_some() { in check_transparent()
373 Some(transparent_field) => transparent_field.attrs.mark_transparent(), in check_transparent()
408 Derive::Serialize => !field.attrs.skip_serializing(), in allow_transparent()
409 Derive::Deserialize => !field.attrs.skip_deserializing() && field.attrs.default().is_none(), in allow_transparent()
414 if cont.attrs.type_from().is_some() && cont.attrs.type_try_from().is_some() { in check_from_and_try_from()