Enum toml_test_harness::DecodedValue [−][src]
pub enum DecodedValue {
String(String),
Integer(String),
Float(String),
Bool(String),
Datetime(String),
DatetimeLocal(String),
DateLocal(String),
TimeLocal(String),
}
Variants
String(String)
Tuple Fields of String
0: String
Integer(String)
Tuple Fields of Integer
0: String
Float(String)
Tuple Fields of Float
0: String
Bool(String)
Tuple Fields of Bool
0: String
Datetime(String)
Tuple Fields of Datetime
0: String
DatetimeLocal(String)
Tuple Fields of DatetimeLocal
0: String
DateLocal(String)
Tuple Fields of DateLocal
0: String
TimeLocal(String)
Tuple Fields of TimeLocal
0: String
Implementations
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<DecodedValue, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<DecodedValue, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for DecodedValue
impl Send for DecodedValue
impl Sync for DecodedValue
impl Unpin for DecodedValue
impl UnwindSafe for DecodedValue
Blanket Implementations
Mutably borrows from an owned value. Read more