pub enum UpdateExpression {
Inc(u32),
Dec(u32),
Reset,
Unchanged,
}Expand description
Expressions defining an update to shared variables
This expression defines how a variable is updated. These expressions
are primarily used in Actions.
Variants§
Inc(u32)
Increment of variable
Dec(u32)
Decrement of variable
Reset
Value indicating that a variable is reset
Unchanged
Unchanged variable
Trait Implementations§
Source§impl Clone for UpdateExpression
impl Clone for UpdateExpression
Source§fn clone(&self) -> UpdateExpression
fn clone(&self) -> UpdateExpression
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 UpdateExpression
impl Debug for UpdateExpression
Source§impl Display for UpdateExpression
impl Display for UpdateExpression
Source§impl Hash for UpdateExpression
impl Hash for UpdateExpression
Source§impl Ord for UpdateExpression
impl Ord for UpdateExpression
Source§fn cmp(&self, other: &UpdateExpression) -> Ordering
fn cmp(&self, other: &UpdateExpression) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UpdateExpression
impl PartialEq for UpdateExpression
Source§impl PartialOrd for UpdateExpression
impl PartialOrd for UpdateExpression
impl Eq for UpdateExpression
impl StructuralPartialEq for UpdateExpression
Auto Trait Implementations§
impl Freeze for UpdateExpression
impl RefUnwindSafe for UpdateExpression
impl Send for UpdateExpression
impl Sync for UpdateExpression
impl Unpin for UpdateExpression
impl UnwindSafe for UpdateExpression
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