/third_party/rust/crates/serde/serde_derive/src/ |
D | ser.rs | 325 serialize_struct_visitor(fields, params, false, &StructTrait::SerializeStruct); in serialize_struct_as_struct() 329 let tag_field = serialize_struct_tag_field(cattrs, &StructTrait::SerializeStruct); in serialize_struct_as_struct() 356 _serde::ser::SerializeStruct::end(__serde_state) in serialize_struct_as_struct() 601 try!(_serde::ser::SerializeStruct::serialize_field( in serialize_internally_tagged_variant() 603 _serde::ser::SerializeStruct::end(__struct) in serialize_internally_tagged_variant() 658 try!(_serde::ser::SerializeStruct::serialize_field( in serialize_adjacently_tagged_variant() 660 _serde::ser::SerializeStruct::end(__struct) in serialize_adjacently_tagged_variant() 671 let func = quote_spanned!(span=> _serde::ser::SerializeStruct::serialize_field); in serialize_adjacently_tagged_variant() 675 try!(_serde::ser::SerializeStruct::serialize_field( in serialize_adjacently_tagged_variant() 679 _serde::ser::SerializeStruct::end(__struct) in serialize_adjacently_tagged_variant() [all …]
|
/third_party/rust/crates/serde/serde/src/private/ |
D | ser.rs | 3 use ser::{self, Impossible, Serialize, SerializeMap, SerializeStruct, Serializer}; 107 type SerializeStruct = S::SerializeStruct; typedef 292 ) -> Result<Self::SerializeStruct, Self::Error> { in serialize_struct() argument 534 use ser::SerializeStruct; in serialize() 575 type SerializeStruct = SerializeStruct<E>; typedef 748 ) -> Result<Self::SerializeStruct, E> { in serialize_struct() argument 749 Ok(SerializeStruct { in serialize_struct() 937 pub struct SerializeStruct<E> { struct 943 impl<E> ser::SerializeStruct for SerializeStruct<E> implementation 1027 type SerializeStruct = FlatMapSerializeStruct<'a, M>; typedef [all …]
|
D | doc.rs | 152 type SerializeStruct = $crate::ser::Impossible<Self::Ok, Self::Error>; 153 __serialize_unimplemented_method!(serialize_struct(&str, usize) -> SerializeStruct);
|
/third_party/rust/crates/serde/serde/src/ser/ |
D | mod.rs | 379 type SerializeStruct: SerializeStruct<Ok = Self::Ok, Error = Self::Error>; typedef 1205 ) -> Result<Self::SerializeStruct, Self::Error>; in serialize_struct() argument 1885 pub trait SerializeStruct { interface
|
D | impossible.rs | 6 self, Serialize, SerializeMap, SerializeSeq, SerializeStruct, SerializeStructVariant, 176 impl<Ok, Error> SerializeStruct for Impossible<Ok, Error>
|
D | fmt.rs | 45 type SerializeStruct = Impossible<(), fmt::Error>; typedef 154 ) -> Result<Self::SerializeStruct, fmt::Error> { in serialize_struct() argument
|
D | impls.rs | 232 use super::SerializeStruct; in serialize() 251 use super::SerializeStruct; in serialize() 600 use super::SerializeStruct; in serialize() 616 use super::SerializeStruct; in serialize()
|
/third_party/rust/crates/tracing/tracing-serde/src/ |
D | lib.rs | 190 ser::{SerializeMap, SerializeSeq, SerializeStruct, SerializeTupleStruct, Serializer}, 443 pub struct SerdeStructVisitor<S: SerializeStruct> { 450 S: SerializeStruct, 503 impl<S: SerializeStruct> SerdeStructVisitor<S> {
|
/third_party/rust/crates/serde/serde_test/src/ |
D | configure.rs | 4 SerializeMap, SerializeSeq, SerializeStruct, SerializeStructVariant, SerializeTuple, 193 type SerializeStruct = $wrapper<S::SerializeStruct>; 304 ) -> Result<Self::SerializeStruct, Self::Error> { 423 impl<S> SerializeStruct for $wrapper<S> impl 425 S: SerializeStruct,
|
D | ser.rs | 87 type SerializeStruct = Self; typedef 418 impl<'s, 'a> ser::SerializeStruct for &'s mut Serializer<'a> {
|
/third_party/rust/crates/serde/test_suite/tests/expand/ |
D | named_map.expanded.rs | 36 match _serde::ser::SerializeStruct::serialize_field(&mut __serde_state, "a", &self.a) { in serialize() 42 match _serde::ser::SerializeStruct::serialize_field(&mut __serde_state, "b", &self.b) { in serialize() 48 match _serde::ser::SerializeStruct::serialize_field(&mut __serde_state, "c", &self.c) { in serialize() 54 _serde::ser::SerializeStruct::end(__serde_state) in serialize()
|
D | default_ty_param.expanded.rs | 35 match _serde::ser::SerializeStruct::serialize_field( in serialize() 45 _serde::ser::SerializeStruct::end(__serde_state) in serialize()
|
D | generic_struct.expanded.rs | 32 match _serde::ser::SerializeStruct::serialize_field(&mut __serde_state, "x", &self.x) { in serialize() 38 _serde::ser::SerializeStruct::end(__serde_state) in serialize()
|