pub enum GuardOperand {
Field(String),
Literal(i64),
Expr {
left: Box<GuardOperand>,
op: ArithOp,
right: Box<GuardOperand>,
},
}Variants§
Trait Implementations§
Source§impl Clone for GuardOperand
impl Clone for GuardOperand
Source§fn clone(&self) -> GuardOperand
fn clone(&self) -> GuardOperand
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 GuardOperand
impl Debug for GuardOperand
Source§impl PartialEq for GuardOperand
impl PartialEq for GuardOperand
impl Eq for GuardOperand
impl StructuralPartialEq for GuardOperand
Auto Trait Implementations§
impl Freeze for GuardOperand
impl RefUnwindSafe for GuardOperand
impl Send for GuardOperand
impl Sync for GuardOperand
impl Unpin for GuardOperand
impl UnwindSafe for GuardOperand
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