Home
last modified time | relevance | path

Searched refs:serialize_struct (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/serde_derive/src/
Dser.rs179 Data::Struct(Style::Struct, fields) => serialize_struct(params, fields, &cont.attrs), in serialize_body()
296 fn serialize_struct(params: &Parameters, fields: &[Field], cattrs: &attr::Container) -> Fragment { in serialize_struct() function
353 …let #let_mut __serde_state = try!(_serde::Serializer::serialize_struct(__serializer, #type_name, #… in serialize_struct_as_struct()
599 let mut __struct = try!(_serde::Serializer::serialize_struct( in serialize_internally_tagged_variant()
656 let mut __struct = try!(_serde::Serializer::serialize_struct( in serialize_adjacently_tagged_variant()
673 let mut __struct = try!(_serde::Serializer::serialize_struct( in serialize_adjacently_tagged_variant()
737 let mut __struct = try!(_serde::Serializer::serialize_struct( in serialize_adjacently_tagged_variant()
925 let mut __serde_state = try!(_serde::Serializer::serialize_struct( in serialize_struct_variant()
941 let #let_mut __serde_state = try!(_serde::Serializer::serialize_struct( in serialize_struct_variant()
/external/rust/crates/serde/src/ser/
Dimpls.rs233 let mut state = try!(serializer.serialize_struct("Range", 2)); in serialize()
252 let mut state = try!(serializer.serialize_struct("RangeInclusive", 2)); in serialize()
601 let mut state = try!(serializer.serialize_struct("Duration", 2)); in serialize()
620 let mut state = try!(serializer.serialize_struct("SystemTime", 2)); in serialize()
Dfmt.rs150 fn serialize_struct( in serialize_struct() method
Dmod.rs1201 fn serialize_struct( in serialize_struct() method
/external/rust/crates/serde_json/src/value/
Dser.rs249 fn serialize_struct(self, name: &'static str, len: usize) -> Result<Self::SerializeStruct> { in serialize_struct() method
591 fn serialize_struct(self, _name: &'static str, _len: usize) -> Result<Self::SerializeStruct> { in serialize_struct() method
836 fn serialize_struct(self, _name: &'static str, _len: usize) -> Result<Self::SerializeStruct> { in serialize_struct() method
1006 fn serialize_struct(self, _name: &'static str, _len: usize) -> Result<Self::SerializeStruct> { in serialize_struct() method
/external/rust/crates/serde/src/private/
Ddoc.rs153 __serialize_unimplemented_method!(serialize_struct(&str, usize) -> SerializeStruct);
Dser.rs288 fn serialize_struct( in serialize_struct() function
293 let mut state = try!(self.delegate.serialize_struct(name, len + 1)); in serialize_struct()
535 let mut s = try!(serializer.serialize_struct(n, fields.len())); in serialize()
744 fn serialize_struct( in serialize_struct() function
1170 fn serialize_struct( in serialize_struct() function
/external/rust/crates/serde_cbor/src/
Dser.rs495 fn serialize_struct(self, _name: &'static str, len: usize) -> Result<StructSerializer<'a, W>> { in serialize_struct() function
514 self.serialize_struct(name, len) in serialize_struct_variant()
/external/rust/crates/serde_json/src/
Draw.rs285 let mut s = serializer.serialize_struct(TOKEN, 1)?; in serialize()
Dser.rs414 fn serialize_struct(self, name: &'static str, len: usize) -> Result<Self::SerializeStruct> { in serialize_struct() function
1174 fn serialize_struct(self, _name: &'static str, _len: usize) -> Result<Self::SerializeStruct> { in serialize_struct() function
1362 fn serialize_struct(self, _name: &'static str, _len: usize) -> Result<Self::SerializeStruct> { in serialize_struct() method
1543 fn serialize_struct(self, _name: &'static str, _len: usize) -> Result<Self::SerializeStruct> { in serialize_struct() method
Dnumber.rs322 let mut s = serializer.serialize_struct(TOKEN, 1)?; in serialize()
/external/rust/crates/serde_test/src/
Dconfigure.rs300 fn serialize_struct(
305 self.0.serialize_struct(name, len).map($wrapper)
Dser.rs279 fn serialize_struct(self, name: &'static str, len: usize) -> Result<Self, Error> { in serialize_struct() method
/external/rust/crates/serde_cbor/src/value/
Dser.rs225 fn serialize_struct( in serialize_struct() method
/external/rust/crates/csv/src/
Dserializer.rs216 fn serialize_struct( in serialize_struct() method
666 fn serialize_struct( in serialize_struct() method