Enum toml_test::decoded::DecodedValue
source · pub enum DecodedValue {
String(String),
Integer(String),
Float(String),
Bool(String),
Datetime(String),
DatetimeLocal(String),
DateLocal(String),
TimeLocal(String),
}
Variants§
String(String)
Integer(String)
Float(String)
Bool(String)
Datetime(String)
DatetimeLocal(String)
DateLocal(String)
TimeLocal(String)
Implementations§
Trait Implementations§
source§impl Clone for DecodedValue
impl Clone for DecodedValue
source§fn clone(&self) -> DecodedValue
fn clone(&self) -> DecodedValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DecodedValue
impl Debug for DecodedValue
source§impl<'de> Deserialize<'de> for DecodedValue
impl<'de> Deserialize<'de> for DecodedValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> From<&'a String> for DecodedValue
impl<'a> From<&'a String> for DecodedValue
source§impl<'a> From<&'a str> for DecodedValue
impl<'a> From<&'a str> for DecodedValue
source§impl From<String> for DecodedValue
impl From<String> for DecodedValue
source§impl From<bool> for DecodedValue
impl From<bool> for DecodedValue
source§impl From<f64> for DecodedValue
impl From<f64> for DecodedValue
source§impl From<i64> for DecodedValue
impl From<i64> for DecodedValue
source§impl PartialEq for DecodedValue
impl PartialEq for DecodedValue
source§impl Serialize for DecodedValue
impl Serialize for DecodedValue
impl Eq for DecodedValue
Auto Trait Implementations§
impl Freeze for DecodedValue
impl RefUnwindSafe for DecodedValue
impl Send for DecodedValue
impl Sync for DecodedValue
impl Unpin for DecodedValue
impl UnwindSafe for DecodedValue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)