pub enum EnumVariantValue {
None,
Specified(i128),
Default,
CatchAll,
}Variants§
Trait Implementations§
source§impl Clone for EnumVariantValue
impl Clone for EnumVariantValue
source§fn clone(&self) -> EnumVariantValue
fn clone(&self) -> EnumVariantValue
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 EnumVariantValue
impl Debug for EnumVariantValue
source§impl Default for EnumVariantValue
impl Default for EnumVariantValue
source§fn default() -> EnumVariantValue
fn default() -> EnumVariantValue
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EnumVariantValue
impl<'de> Deserialize<'de> for EnumVariantValue
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 PartialEq for EnumVariantValue
impl PartialEq for EnumVariantValue
source§fn eq(&self, other: &EnumVariantValue) -> bool
fn eq(&self, other: &EnumVariantValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&str> for EnumVariantValue
impl TryFrom<&str> for EnumVariantValue
impl Eq for EnumVariantValue
impl StructuralEq for EnumVariantValue
impl StructuralPartialEq for EnumVariantValue
Auto Trait Implementations§
impl RefUnwindSafe for EnumVariantValue
impl Send for EnumVariantValue
impl Sync for EnumVariantValue
impl Unpin for EnumVariantValue
impl UnwindSafe for EnumVariantValue
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> 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.