pub struct Choice {
pub name: String,
pub label: Localized,
pub extra: Vec<(String, String)>,
}Expand description
One option within a choice list.
Fields§
§name: StringStored value (name column).
label: LocalizedDisplay label (single- or multi-language).
extra: Vec<(String, String)>Extra columns (name, value) for cascading filters, in header order.
Trait Implementations§
impl Eq for Choice
impl StructuralPartialEq for Choice
Auto Trait Implementations§
impl Forget for Choice
impl Freeze for Choice
impl Move for Choice
impl RefUnwindSafe for Choice
impl Send for Choicewhere
RawVecInner: Send,
impl Sync for Choicewhere
RawVecInner: Sync,
impl Unpin for Choice
impl UnsafeUnpin for Choicewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for Choicewhere
RawVecInner: UnwindSafe,
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