pub struct GroupItem {
pub group: String,
pub value: String,
pub index: usize,
}Expand description
One checked item inside a GroupSelected result.
Fields§
§group: StringName of the group the item belongs to.
value: StringMachine value of the item (the argument to .item(value)).
index: usizeZero-based position within its group.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GroupItem
impl RefUnwindSafe for GroupItem
impl Send for GroupItem
impl Sync for GroupItem
impl Unpin for GroupItem
impl UnsafeUnpin for GroupItem
impl UnwindSafe for GroupItem
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