pub struct DropdownItem {
pub value: String,
pub label: String,
}Fields§
§value: String§label: StringImplementations§
Trait Implementations§
Source§impl Clone for DropdownItem
impl Clone for DropdownItem
Source§fn clone(&self) -> DropdownItem
fn clone(&self) -> DropdownItem
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 moreSource§impl Debug for DropdownItem
impl Debug for DropdownItem
impl Eq for DropdownItem
Source§impl PartialEq for DropdownItem
impl PartialEq for DropdownItem
impl StructuralPartialEq for DropdownItem
Auto Trait Implementations§
impl Freeze for DropdownItem
impl RefUnwindSafe for DropdownItem
impl Send for DropdownItem
impl Sync for DropdownItem
impl Unpin for DropdownItem
impl UnsafeUnpin for DropdownItem
impl UnwindSafe for DropdownItem
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