pub struct MdOption {
pub value: String,
pub label: String,
}Expand description
a choice of a drop-down list: the value sent, the text shown
Fields§
§value: String§label: StringTrait Implementations§
impl Eq for MdOption
impl StructuralPartialEq for MdOption
Auto Trait Implementations§
impl Forget for MdOption
impl Freeze for MdOption
impl RefUnwindSafe for MdOption
impl Send for MdOption
impl Sync for MdOption
impl Unpin for MdOption
impl UnsafeUnpin for MdOption
impl UnwindSafe for MdOption
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