pub struct Choice<'a> {
pub id: u64,
pub label: &'a str,
pub enabled: bool,
}Fields§
§id: u64§label: &'a str§enabled: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Choice<'a>
impl<'a> Freeze for Choice<'a>
impl<'a> Move for Choice<'a>
impl<'a> RefUnwindSafe for Choice<'a>
impl<'a> Send for Choice<'a>
impl<'a> Sync for Choice<'a>
impl<'a> Unpin for Choice<'a>
impl<'a> UnsafeUnpin for Choice<'a>
impl<'a> UnwindSafe for Choice<'a>
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