#[non_exhaustive]pub enum SimplexNameType {
PublicGroup,
Contact,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SimplexNameType
impl Clone for SimplexNameType
Source§fn clone(&self) -> SimplexNameType
fn clone(&self) -> SimplexNameType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SimplexNameType
Source§impl Debug for SimplexNameType
impl Debug for SimplexNameType
Source§impl Default for SimplexNameType
impl Default for SimplexNameType
Source§fn default() -> SimplexNameType
fn default() -> SimplexNameType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SimplexNameType
impl<'de> Deserialize<'de> for SimplexNameType
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
impl Eq for SimplexNameType
Source§impl Hash for SimplexNameType
impl Hash for SimplexNameType
Source§impl PartialEq for SimplexNameType
impl PartialEq for SimplexNameType
Source§fn eq(&self, other: &SimplexNameType) -> bool
fn eq(&self, other: &SimplexNameType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SimplexNameType
impl Serialize for SimplexNameType
impl StructuralPartialEq for SimplexNameType
Auto Trait Implementations§
impl Freeze for SimplexNameType
impl RefUnwindSafe for SimplexNameType
impl Send for SimplexNameType
impl Sync for SimplexNameType
impl Unpin for SimplexNameType
impl UnsafeUnpin for SimplexNameType
impl UnwindSafe for SimplexNameType
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