Home
last modified time | relevance | path

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

/external/rust/crates/log/src/
Dserde.rs23 Level::Error => serializer.serialize_unit_variant("Level", 0, "ERROR"), in serialize()
24 Level::Warn => serializer.serialize_unit_variant("Level", 1, "WARN"), in serialize()
25 Level::Info => serializer.serialize_unit_variant("Level", 2, "INFO"), in serialize()
26 Level::Debug => serializer.serialize_unit_variant("Level", 3, "DEBUG"), in serialize()
27 Level::Trace => serializer.serialize_unit_variant("Level", 4, "TRACE"), in serialize()
117 LevelFilter::Off => serializer.serialize_unit_variant("LevelFilter", 0, "OFF"), in serialize()
118 LevelFilter::Error => serializer.serialize_unit_variant("LevelFilter", 1, "ERROR"), in serialize()
119 LevelFilter::Warn => serializer.serialize_unit_variant("LevelFilter", 2, "WARN"), in serialize()
120 LevelFilter::Info => serializer.serialize_unit_variant("LevelFilter", 3, "INFO"), in serialize()
121 LevelFilter::Debug => serializer.serialize_unit_variant("LevelFilter", 4, "DEBUG"), in serialize()
[all …]
/external/rust/crates/serde_cbor/src/
Dser.rs390 fn serialize_unit_variant( in serialize_unit_variant() function
432 self.serialize_unit_variant(name, variant_index, variant)?; in serialize_newtype_variant()
471 self.serialize_unit_variant(name, variant_index, variant)?; in serialize_tuple_variant()
513 self.serialize_unit_variant(name, variant_index, variant)?; in serialize_struct_variant()
/external/rust/crates/serde_json/src/value/
Dser.rs166 fn serialize_unit_variant( in serialize_unit_variant() method
450 fn serialize_unit_variant( in serialize_unit_variant() method
777 fn serialize_unit_variant( in serialize_unit_variant() method
947 fn serialize_unit_variant( in serialize_unit_variant() method
/external/rust/crates/serde/src/private/
Ddoc.rs123 __serialize_unimplemented_method!(serialize_unit_variant(&str, u32, &str) -> Ok);
Dser.rs196 fn serialize_unit_variant( in serialize_unit_variant() function
495 Content::UnitVariant(n, i, v) => serializer.serialize_unit_variant(n, i, v), in serialize()
653 fn serialize_unit_variant( in serialize_unit_variant() function
1106 fn serialize_unit_variant( in serialize_unit_variant() function
/external/rust/crates/serde/src/ser/
Dfmt.rs72 fn serialize_unit_variant( in serialize_unit_variant() method
Dmod.rs871 fn serialize_unit_variant( in serialize_unit_variant() method
Dimpls.rs271 Bound::Unbounded => serializer.serialize_unit_variant("Bound", 0, "Unbounded"), in serialize()
/external/rust/crates/serde_test/src/
Dconfigure.rs223 fn serialize_unit_variant(
229 self.0.serialize_unit_variant(name, variant_index, variant)
Dser.rs178 fn serialize_unit_variant( in serialize_unit_variant() method
/external/rust/crates/serde_cbor/src/value/
Dser.rs138 fn serialize_unit_variant( in serialize_unit_variant() method
/external/rust/crates/serde_json/src/
Dser.rs246 fn serialize_unit_variant( in serialize_unit_variant() function
873 fn serialize_unit_variant( in serialize_unit_variant() function
1303 fn serialize_unit_variant( in serialize_unit_variant() method
1484 fn serialize_unit_variant( in serialize_unit_variant() method
/external/rust/crates/csv/src/
Dserializer.rs145 fn serialize_unit_variant( in serialize_unit_variant() method
595 fn serialize_unit_variant( in serialize_unit_variant() method
/external/rust/crates/serde_derive/src/
Dser.rs522 _serde::Serializer::serialize_unit_variant( in serialize_externally_tagged_variant()