Searched refs:serialize_unit_variant (Results 1 – 12 of 12) sorted by relevance
/third_party/rust/crates/log/src/ |
D | serde.rs | 23 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 …]
|
/third_party/rust/crates/serde/test_suite/tests/expand/ |
D | ser_enum.expanded.rs | 34 SerEnum::Unit => _serde::Serializer::serialize_unit_variant( in serialize() 151 SerEnum::_Unit2 => _serde::Serializer::serialize_unit_variant( in serialize()
|
D | generic_enum.expanded.rs | 27 GenericEnum::Unit => _serde::Serializer::serialize_unit_variant( in serialize()
|
D | de_enum.expanded.rs | 31 _serde::Serializer::serialize_unit_variant(__serializer, "DeEnum", 0u32, "Unit") in serialize() 144 DeEnum::_Unit2 => _serde::Serializer::serialize_unit_variant( in serialize()
|
/third_party/rust/crates/serde/serde/src/private/ |
D | doc.rs | 123 __serialize_unimplemented_method!(serialize_unit_variant(&str, u32, &str) -> Ok);
|
D | ser.rs | 196 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
|
/third_party/rust/crates/serde/serde/src/ser/ |
D | fmt.rs | 72 fn serialize_unit_variant( in serialize_unit_variant() method
|
D | mod.rs | 871 fn serialize_unit_variant( in serialize_unit_variant() method
|
D | impls.rs | 271 Bound::Unbounded => serializer.serialize_unit_variant("Bound", 0, "Unbounded"), in serialize()
|
/third_party/rust/crates/serde/serde_test/src/ |
D | configure.rs | 223 fn serialize_unit_variant( 229 self.0.serialize_unit_variant(name, variant_index, variant)
|
D | ser.rs | 178 fn serialize_unit_variant( in serialize_unit_variant() method
|
/third_party/rust/crates/serde/serde_derive/src/ |
D | ser.rs | 522 _serde::Serializer::serialize_unit_variant( in serialize_externally_tagged_variant()
|