pub enum DecodedValue {
Scalar(DecodedScalar),
Table(HashMap<String, DecodedValue>),
Array(Vec<DecodedValue>),
}
Expand description
Logical representation of any TOML value
Variants§
Implementations§
Source§impl DecodedValue
impl DecodedValue
Trait Implementations§
Source§impl Clone for DecodedValue
impl Clone for DecodedValue
Source§fn clone(&self) -> DecodedValue
fn clone(&self) -> DecodedValue
Returns a duplicate 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 PartialEq for DecodedValue
impl PartialEq for DecodedValue
Source§impl Serialize for DecodedValue
impl Serialize for DecodedValue
impl Eq for DecodedValue
impl StructuralPartialEq 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