#[non_exhaustive]pub enum WelcomeType {
Welcome,
}Expand description
Marker for the "Welcome" discriminator value.
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.
Welcome
Always serializes as "Welcome".
Trait Implementations§
Source§impl Clone for WelcomeType
impl Clone for WelcomeType
impl Copy for WelcomeType
Source§impl Debug for WelcomeType
impl Debug for WelcomeType
Source§impl Default for WelcomeType
impl Default for WelcomeType
Source§impl<'de> Deserialize<'de> for WelcomeType
impl<'de> Deserialize<'de> for WelcomeType
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 WelcomeType
Source§impl Hash for WelcomeType
impl Hash for WelcomeType
Source§impl PartialEq for WelcomeType
impl PartialEq for WelcomeType
Source§impl Serialize for WelcomeType
impl Serialize for WelcomeType
impl StructuralPartialEq for WelcomeType
Auto Trait Implementations§
impl Freeze for WelcomeType
impl RefUnwindSafe for WelcomeType
impl Send for WelcomeType
impl Sync for WelcomeType
impl Unpin for WelcomeType
impl UnsafeUnpin for WelcomeType
impl UnwindSafe for WelcomeType
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