#[non_exhaustive]pub enum LiveAllowedClientEvents {
All(String),
Events(Vec<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.
Trait Implementations§
Source§impl Clone for LiveAllowedClientEvents
impl Clone for LiveAllowedClientEvents
Source§impl Debug for LiveAllowedClientEvents
impl Debug for LiveAllowedClientEvents
Source§impl DeclaredFields for LiveAllowedClientEvents
impl DeclaredFields for LiveAllowedClientEvents
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for LiveAllowedClientEvents
impl<'de> Deserialize<'de> for LiveAllowedClientEvents
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 LiveAllowedClientEvents
impl PartialEq for LiveAllowedClientEvents
Source§impl Serialize for LiveAllowedClientEvents
impl Serialize for LiveAllowedClientEvents
impl StructuralPartialEq for LiveAllowedClientEvents
Auto Trait Implementations§
impl Freeze for LiveAllowedClientEvents
impl RefUnwindSafe for LiveAllowedClientEvents
impl Send for LiveAllowedClientEvents
impl Sync for LiveAllowedClientEvents
impl Unpin for LiveAllowedClientEvents
impl UnsafeUnpin for LiveAllowedClientEvents
impl UnwindSafe for LiveAllowedClientEvents
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