pub enum ChoiceSpec {
Variant {
id: LitStr,
caption: LitStr,
filter: Option<LitStr>,
columns: Vec<String>,
},
ListFilter {
id: LitStr,
caption: LitStr,
filter: Option<LitStr>,
},
}Expand description
#[variant(...)] or #[list_filter(...)] on a struct.
Variants§
Trait Implementations§
Source§impl Clone for ChoiceSpec
impl Clone for ChoiceSpec
Source§fn clone(&self) -> ChoiceSpec
fn clone(&self) -> ChoiceSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for ChoiceSpec
impl !Sync for ChoiceSpec
impl Freeze for ChoiceSpec
impl RefUnwindSafe for ChoiceSpec
impl Unpin for ChoiceSpec
impl UnsafeUnpin for ChoiceSpec
impl UnwindSafe for ChoiceSpec
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