pub enum Cond {
Compare {
path: Vec<String>,
negated: bool,
literal: Value,
},
Exists {
path: Vec<String>,
},
Truthy {
path: Vec<String>,
negated: bool,
},
}Expand description
A parsed condition — the only forms the v1 grammar admits.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cond
impl<'de> Deserialize<'de> for Cond
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 StructuralPartialEq for Cond
Auto Trait Implementations§
impl Freeze for Cond
impl RefUnwindSafe for Cond
impl Send for Cond
impl Sync for Cond
impl Unpin for Cond
impl UnsafeUnpin for Cond
impl UnwindSafe for Cond
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