• Home
  • Raw
  • Download

Lines Matching refs:variant_ident

435     variant_ident: Option<&syn::Ident>,  in deserialize_tuple()
458 let is_enum = variant_ident.is_some(); in deserialize_tuple()
459 let type_path = match variant_ident { in deserialize_tuple()
460 Some(variant_ident) => quote!(#construct::#variant_ident), in deserialize_tuple()
463 let expecting = match variant_ident { in deserialize_tuple()
464 Some(variant_ident) => format!("tuple variant {}::{}", params.type_name(), variant_ident), in deserialize_tuple()
536 variant_ident: Option<syn::Ident>, in deserialize_tuple_in_place()
549 let is_enum = variant_ident.is_some(); in deserialize_tuple_in_place()
550 let expecting = match variant_ident { in deserialize_tuple_in_place()
551 Some(variant_ident) => format!("tuple variant {}::{}", params.type_name(), variant_ident), in deserialize_tuple_in_place()
890 variant_ident: Option<&syn::Ident>, in deserialize_struct()
897 let is_enum = variant_ident.is_some(); in deserialize_struct()
914 let type_path = match variant_ident { in deserialize_struct()
915 Some(variant_ident) => quote!(#construct::#variant_ident), in deserialize_struct()
918 let expecting = match variant_ident { in deserialize_struct()
919 Some(variant_ident) => format!("struct variant {}::{}", params.type_name(), variant_ident), in deserialize_struct()
1041 variant_ident: Option<syn::Ident>, in deserialize_struct_in_place()
1047 let is_enum = variant_ident.is_some(); in deserialize_struct_in_place()
1060 let expecting = match variant_ident { in deserialize_struct_in_place()
1061 Some(variant_ident) => format!("struct variant {}::{}", params.type_name(), variant_ident), in deserialize_struct_in_place()
1409 let variant_ident = &variant.ident; in deserialize_adjacently_tagged_enum() localVariable
1413 _serde::__private::Ok(#this::#variant_ident) in deserialize_adjacently_tagged_enum()
1419 #func(#content).map(#this::#variant_ident) in deserialize_adjacently_tagged_enum()
1701 let variant_ident = &variant.ident; in deserialize_externally_tagged_variant() localVariable
1708 _serde::__private::Ok(#this::#variant_ident) in deserialize_externally_tagged_variant()
1712 variant_ident, in deserialize_externally_tagged_variant()
1718 deserialize_tuple(Some(variant_ident), params, &variant.fields, cattrs, None) in deserialize_externally_tagged_variant()
1721 Some(variant_ident), in deserialize_externally_tagged_variant()
1741 let variant_ident = &variant.ident; in deserialize_internally_tagged_variant() localVariable
1754 _serde::__private::Ok(#this::#variant_ident #default) in deserialize_internally_tagged_variant()
1758 variant_ident, in deserialize_internally_tagged_variant()
1764 Some(variant_ident), in deserialize_internally_tagged_variant()
1790 let variant_ident = &variant.ident; in deserialize_untagged_variant() localVariable
1806 … _serde::__private::Ok(()) => _serde::__private::Ok(#this::#variant_ident #default), in deserialize_untagged_variant()
1812 variant_ident, in deserialize_untagged_variant()
1818 Some(variant_ident), in deserialize_untagged_variant()
1825 Some(variant_ident), in deserialize_untagged_variant()
1836 variant_ident: &syn::Ident, in deserialize_externally_tagged_newtype_variant()
1848 _serde::__private::Ok(#this::#variant_ident(#default)) in deserialize_externally_tagged_newtype_variant()
1859 _serde::__private::Result::map(#func(__variant), #this::#variant_ident) in deserialize_externally_tagged_newtype_variant()
1868 |__wrapper| #this::#variant_ident(__wrapper.value)) in deserialize_externally_tagged_newtype_variant()
1875 variant_ident: &syn::Ident, in deserialize_untagged_newtype_variant()
1887 _serde::__private::Result::map(#func(#deserializer), #this::#variant_ident) in deserialize_untagged_newtype_variant()
1893 _serde::__private::Result::map(__value, #this::#variant_ident) in deserialize_untagged_newtype_variant()
2887 let variant_ident = &variant.ident; in wrap_deserialize_variant_with() localVariable
2903 |__wrap| #this::#variant_ident { #member: __wrap.value } in wrap_deserialize_variant_with()
2909 |__wrap| #this::#variant_ident { #(#members: __wrap.value.#field_access),* } in wrap_deserialize_variant_with()
2913 |__wrap| #this::#variant_ident(#(__wrap.value.#field_access),*) in wrap_deserialize_variant_with()
2916 |__wrap| #this::#variant_ident(__wrap.value) in wrap_deserialize_variant_with()
2919 |__wrap| #this::#variant_ident in wrap_deserialize_variant_with()