pub enum GoldValue {
Bool(bool),
Integer(i64),
Text(String),
Path(Vec<String>),
}Expand description
A gold value (3.3.2): a string, an integer, a boolean, or a hierarchical path of 1 to 16 strings, most general first.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GoldValue
impl<'de> Deserialize<'de> for GoldValue
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
impl Eq for GoldValue
impl StructuralPartialEq for GoldValue
Auto Trait Implementations§
impl Freeze for GoldValue
impl RefUnwindSafe for GoldValue
impl Send for GoldValue
impl Sync for GoldValue
impl Unpin for GoldValue
impl UnsafeUnpin for GoldValue
impl UnwindSafe for GoldValue
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