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