pub enum SetVarOperation {
Set(String),
Increment(i64),
Decrement(i64),
Delete,
}Expand description
Type of setvar operation.
Variants§
Set(String)
Set to value.
Increment(i64)
Increment by value.
Decrement(i64)
Decrement by value.
Delete
Delete the variable.
Trait Implementations§
Source§impl Clone for SetVarOperation
impl Clone for SetVarOperation
Source§fn clone(&self) -> SetVarOperation
fn clone(&self) -> SetVarOperation
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 moreAuto Trait Implementations§
impl Freeze for SetVarOperation
impl RefUnwindSafe for SetVarOperation
impl Send for SetVarOperation
impl Sync for SetVarOperation
impl Unpin for SetVarOperation
impl UnwindSafe for SetVarOperation
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