pub enum SetVarValue {
String(String),
Int(i64),
Increment(i64),
Decrement(i64),
Delete,
}Expand description
SetVar value types.
Variants§
String(String)
Set to string value.
Int(i64)
Set to integer value.
Increment(i64)
Increment by amount.
Decrement(i64)
Decrement by amount.
Delete
Delete variable.
Trait Implementations§
Source§impl Clone for SetVarValue
impl Clone for SetVarValue
Source§fn clone(&self) -> SetVarValue
fn clone(&self) -> SetVarValue
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 SetVarValue
impl RefUnwindSafe for SetVarValue
impl Send for SetVarValue
impl Sync for SetVarValue
impl Unpin for SetVarValue
impl UnwindSafe for SetVarValue
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