Enum dora_core::config::InputMapping
source · pub enum InputMapping {
Timer {
interval: Duration,
},
User(UserInputMapping),
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for InputMapping
impl Clone for InputMapping
source§fn clone(&self) -> InputMapping
fn clone(&self) -> InputMapping
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 InputMapping
impl Debug for InputMapping
source§impl<'de> Deserialize<'de> for InputMapping
impl<'de> Deserialize<'de> for InputMapping
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 Display for InputMapping
impl Display for InputMapping
source§impl Ord for InputMapping
impl Ord for InputMapping
source§fn cmp(&self, other: &InputMapping) -> Ordering
fn cmp(&self, other: &InputMapping) -> 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<InputMapping> for InputMapping
impl PartialEq<InputMapping> for InputMapping
source§fn eq(&self, other: &InputMapping) -> bool
fn eq(&self, other: &InputMapping) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<InputMapping> for InputMapping
impl PartialOrd<InputMapping> for InputMapping
source§fn partial_cmp(&self, other: &InputMapping) -> Option<Ordering>
fn partial_cmp(&self, other: &InputMapping) -> 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 InputMapping
impl Serialize for InputMapping
impl Eq for InputMapping
impl StructuralEq for InputMapping
impl StructuralPartialEq for InputMapping
Auto Trait Implementations§
impl RefUnwindSafe for InputMapping
impl Send for InputMapping
impl Sync for InputMapping
impl Unpin for InputMapping
impl UnwindSafe for InputMapping
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.