Enum buildsrs_protocol::types::NamedVariant
source · pub enum NamedVariant {
Default,
}
Expand description
Named variants
Variants§
Default
Default variant
Trait Implementations§
source§impl Clone for NamedVariant
impl Clone for NamedVariant
source§fn clone(&self) -> NamedVariant
fn clone(&self) -> NamedVariant
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 NamedVariant
impl Debug for NamedVariant
source§impl Default for NamedVariant
impl Default for NamedVariant
source§fn default() -> NamedVariant
fn default() -> NamedVariant
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NamedVariant
impl<'de> Deserialize<'de> for NamedVariant
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 NamedVariant
impl Hash for NamedVariant
source§impl Ord for NamedVariant
impl Ord for NamedVariant
source§fn cmp(&self, other: &NamedVariant) -> Ordering
fn cmp(&self, other: &NamedVariant) -> 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 NamedVariant
impl PartialEq for NamedVariant
source§fn eq(&self, other: &NamedVariant) -> bool
fn eq(&self, other: &NamedVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NamedVariant
impl PartialOrd for NamedVariant
source§fn partial_cmp(&self, other: &NamedVariant) -> Option<Ordering>
fn partial_cmp(&self, other: &NamedVariant) -> 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 NamedVariant
impl Serialize for NamedVariant
impl Copy for NamedVariant
impl Eq for NamedVariant
impl StructuralEq for NamedVariant
impl StructuralPartialEq for NamedVariant
Auto Trait Implementations§
impl RefUnwindSafe for NamedVariant
impl Send for NamedVariant
impl Sync for NamedVariant
impl Unpin for NamedVariant
impl UnwindSafe for NamedVariant
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