Enum abbau_types::AnyScalar
source · pub enum AnyScalar {
Null,
Bool(bool),
String(String),
UInt(u64),
}
Expand description
Any scalar YAML value
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for AnyScalar
impl<'de> Deserialize<'de> for AnyScalar
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 Ord for AnyScalar
impl Ord for AnyScalar
source§impl PartialEq<AnyScalar> for AnyScalar
impl PartialEq<AnyScalar> for AnyScalar
source§impl PartialOrd<AnyScalar> for AnyScalar
impl PartialOrd<AnyScalar> for AnyScalar
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for AnyScalar
impl StructuralEq for AnyScalar
impl StructuralPartialEq for AnyScalar
Auto Trait Implementations§
impl RefUnwindSafe for AnyScalar
impl Send for AnyScalar
impl Sync for AnyScalar
impl Unpin for AnyScalar
impl UnwindSafe for AnyScalar
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