pub enum CommandTrigger {
Unspecified,
Manual,
Scheduled,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for CommandTrigger
impl Clone for CommandTrigger
source§fn clone(&self) -> CommandTrigger
fn clone(&self) -> CommandTrigger
Returns a copy 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 CommandTrigger
impl Debug for CommandTrigger
source§impl Default for CommandTrigger
impl Default for CommandTrigger
source§fn default() -> CommandTrigger
fn default() -> CommandTrigger
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CommandTrigger
impl<'de> Deserialize<'de> for CommandTrigger
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
source§impl Hash for CommandTrigger
impl Hash for CommandTrigger
source§impl Ord for CommandTrigger
impl Ord for CommandTrigger
source§fn cmp(&self, other: &CommandTrigger) -> Ordering
fn cmp(&self, other: &CommandTrigger) -> 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 CommandTrigger
impl PartialEq for CommandTrigger
source§fn eq(&self, other: &CommandTrigger) -> bool
fn eq(&self, other: &CommandTrigger) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CommandTrigger
impl PartialOrd for CommandTrigger
source§fn partial_cmp(&self, other: &CommandTrigger) -> Option<Ordering>
fn partial_cmp(&self, other: &CommandTrigger) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for CommandTrigger
impl Serialize for CommandTrigger
source§impl ToString for CommandTrigger
impl ToString for CommandTrigger
impl Copy for CommandTrigger
impl Eq for CommandTrigger
impl StructuralEq for CommandTrigger
impl StructuralPartialEq for CommandTrigger
Auto Trait Implementations§
impl RefUnwindSafe for CommandTrigger
impl Send for CommandTrigger
impl Sync for CommandTrigger
impl Unpin for CommandTrigger
impl UnwindSafe for CommandTrigger
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.