Home
last modified time | relevance | path

Searched refs:ser_name (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/crates/serde/serde_derive/src/internals/
Dattr.rs147 ser_name: Attr<String>, in from_attrs()
158 let ser_name = ser_name.get(); in from_attrs() localVariable
159 let ser_renamed = ser_name.is_some(); in from_attrs()
163 serialize: ser_name.unwrap_or_else(|| source_name.clone()), in from_attrs()
288 let mut ser_name = Attr::none(cx, RENAME); in from_ast() localVariable
330 ser_name.set_opt(&meta.path, ser.as_ref().map(syn::LitStr::value)); in from_ast()
570 name: Name::from_attrs(unraw(&item.ident), ser_name, de_name, None), in from_ast()
813 let mut ser_name = Attr::none(cx, RENAME); in from_ast() localVariable
844 ser_name.set_opt(&meta.path, ser.as_ref().map(syn::LitStr::value)); in from_ast()
959 name: Name::from_attrs(unraw(&variant.ident), ser_name, de_name, Some(de_aliases)), in from_ast()
[all …]
Dcheck.rs330 let ser_name = name.serialize_name(); in check_internal_tag_field_name_conflict() localVariable
332 if check_ser && ser_name == tag { in check_internal_tag_field_name_conflict()