Home
last modified time | relevance | path

Searched refs:serialize_field (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/serde/src/ser/
Dimpossible.rs115 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), Error> in serialize_field() function
135 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), Error> in serialize_field() function
183 fn serialize_field<T: ?Sized>(&mut self, key: &'static str, value: &T) -> Result<(), Error> in serialize_field() function
204 fn serialize_field<T: ?Sized>(&mut self, key: &'static str, value: &T) -> Result<(), Error> in serialize_field() function
Dmod.rs1653 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), Self::Error> in serialize_field() method
1711 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), Self::Error> in serialize_field() method
1871 fn serialize_field<T: ?Sized>( in serialize_field() method
1937 fn serialize_field<T: ?Sized>( in serialize_field() method
Dimpls.rs234 try!(state.serialize_field("start", &self.start)); in serialize()
235 try!(state.serialize_field("end", &self.end)); in serialize()
253 try!(state.serialize_field("start", &self.start())); in serialize()
254 try!(state.serialize_field("end", &self.end())); in serialize()
602 try!(state.serialize_field("secs", &self.as_secs())); in serialize()
603 try!(state.serialize_field("nanos", &self.subsec_nanos())); in serialize()
621 try!(state.serialize_field("secs_since_epoch", &duration_since_epoch.as_secs())); in serialize()
622 try!(state.serialize_field("nanos_since_epoch", &duration_since_epoch.subsec_nanos())); in serialize()
/external/rust/crates/serde_derive/src/
Dser.rs310 let func = struct_trait.serialize_field(Span::call_site()); in serialize_struct_tag_field()
601 try!(_serde::ser::SerializeStruct::serialize_field( in serialize_internally_tagged_variant()
658 try!(_serde::ser::SerializeStruct::serialize_field( 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()
739 try!(_serde::ser::SerializeStruct::serialize_field( in serialize_adjacently_tagged_variant()
741 try!(_serde::ser::SerializeStruct::serialize_field( in serialize_adjacently_tagged_variant()
930 try!(_serde::ser::SerializeStruct::serialize_field( in serialize_struct_variant()
1123 let func = struct_trait.serialize_field(span); in serialize_struct_visitor()
1291 fn serialize_field(&self, span: Span) -> TokenStream { in serialize_field() method
[all …]
/external/rust/crates/serde_test/src/
Dconfigure.rs361 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), S::Error>
365 self.0.serialize_field(&$wrapper(value))
378 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), S::Error>
382 self.0.serialize_field(&$wrapper(value))
429 fn serialize_field<T: ?Sized>(
437 self.0.serialize_field(name, &$wrapper(field))
450 fn serialize_field<T: ?Sized>(
458 self.0.serialize_field(name, &$wrapper(field))
Dser.rs360 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), Error> in serialize_field() method
377 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), Error> in serialize_field() method
422 fn serialize_field<T: ?Sized>( in serialize_field() method
444 fn serialize_field<T: ?Sized>( in serialize_field() method
/external/rust/crates/serde/src/private/
Dser.rs294 try!(state.serialize_field(self.tag, self.variant_name)); in serialize_struct()
367 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), M::Error> in serialize_field() function
407 fn serialize_field<T: ?Sized>( in serialize_field() function
513 try!(ts.serialize_field(f)); in serialize()
521 try!(tv.serialize_field(f)); in serialize()
537 try!(s.serialize_field(k, v)); in serialize()
545 try!(sv.serialize_field(k, v)); in serialize()
838 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), E> in serialize_field() function
867 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), E> in serialize_field() function
950 fn serialize_field<T: ?Sized>(&mut self, key: &'static str, value: &T) -> Result<(), E> in serialize_field() function
[all …]
/external/rust/crates/serde_cbor/src/value/
Dser.rs308 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), Error> in serialize_field() method
324 fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<(), Error> in serialize_field() method
374 fn serialize_field<T: ?Sized>(&mut self, key: &'static str, value: &T) -> Result<(), Error> in serialize_field() method
391 fn serialize_field<T: ?Sized>(&mut self, key: &'static str, value: &T) -> Result<(), Error> in serialize_field() method
/external/rust/crates/csv/src/
Dserializer.rs271 fn serialize_field<T: ?Sized + Serialize>( in serialize_field() method
287 fn serialize_field<T: ?Sized + Serialize>( in serialize_field() method
326 fn serialize_field<T: ?Sized + Serialize>( in serialize_field() method
343 fn serialize_field<T: ?Sized + Serialize>( in serialize_field() method
721 fn serialize_field<T: ?Sized + Serialize>( in serialize_field() method
737 fn serialize_field<T: ?Sized + Serialize>( in serialize_field() method
776 fn serialize_field<T: ?Sized + Serialize>( in serialize_field() method
806 fn serialize_field<T: ?Sized + Serialize>( in serialize_field() method
/external/rust/crates/serde_cbor/src/
Dser.rs552 fn serialize_field<T>(&mut self, value: &T) -> Result<()> in serialize_field() function
573 fn serialize_field<T>(&mut self, value: &T) -> Result<()> in serialize_field() function
631 fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<()> in serialize_field() function
657 fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<()> in serialize_field() function
/external/rust/crates/serde_json/src/value/
Dser.rs342 fn serialize_field<T>(&mut self, value: &T) -> Result<()> in serialize_field() method
358 fn serialize_field<T>(&mut self, value: &T) -> Result<()> in serialize_field() method
617 fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<()> in serialize_field() method
663 fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<()> in serialize_field() method
/external/rust/crates/serde_json/src/
Dser.rs614 fn serialize_field<T>(&mut self, value: &T) -> Result<()> in serialize_field() function
636 fn serialize_field<T>(&mut self, value: &T) -> Result<()> in serialize_field() function
757 fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<()> in serialize_field() function
805 fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<()> in serialize_field() function
810 Compound::Map { .. } => ser::SerializeStruct::serialize_field(self, key, value), in serialize_field()
Draw.rs286 s.serialize_field(TOKEN, &self.json)?; in serialize()
Dnumber.rs323 s.serialize_field(TOKEN, &self.n)?; in serialize()