#[non_exhaustive]pub enum UserLineType {
Shared,
Dedicated,
Unknown(String),
}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.
shared
Dedicated
dedicated
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for UserLineType
impl Clone for UserLineType
Source§impl Debug for UserLineType
impl Debug for UserLineType
Source§impl<'de> Deserialize<'de> for UserLineType
impl<'de> Deserialize<'de> for UserLineType
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 UserLineType
impl Display for UserLineType
impl Eq for UserLineType
Source§impl PartialEq for UserLineType
impl PartialEq for UserLineType
Source§impl Serialize for UserLineType
impl Serialize for UserLineType
impl StructuralPartialEq for UserLineType
Auto Trait Implementations§
impl Freeze for UserLineType
impl RefUnwindSafe for UserLineType
impl Send for UserLineType
impl Sync for UserLineType
impl Unpin for UserLineType
impl UnsafeUnpin for UserLineType
impl UnwindSafe for UserLineType
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