#[non_exhaustive]pub struct UserInputSelection {
pub mode: UserInputSelectionMode,
pub min_selections: Option<usize>,
pub max_selections: Option<usize>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mode: UserInputSelectionMode§min_selections: Option<usize>§max_selections: Option<usize>Trait Implementations§
Source§impl Clone for UserInputSelection
impl Clone for UserInputSelection
Source§impl Debug for UserInputSelection
impl Debug for UserInputSelection
Source§impl<'de> Deserialize<'de> for UserInputSelection
impl<'de> Deserialize<'de> for UserInputSelection
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 UserInputSelection
Source§impl PartialEq for UserInputSelection
impl PartialEq for UserInputSelection
Source§impl Serialize for UserInputSelection
impl Serialize for UserInputSelection
impl StructuralPartialEq for UserInputSelection
Auto Trait Implementations§
impl Freeze for UserInputSelection
impl RefUnwindSafe for UserInputSelection
impl Send for UserInputSelection
impl Sync for UserInputSelection
impl Unpin for UserInputSelection
impl UnsafeUnpin for UserInputSelection
impl UnwindSafe for UserInputSelection
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