pub struct CoreOptionValue {
pub value: String,
pub label: Option<String>,
}Fields§
§value: String§label: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for CoreOptionValue
impl Clone for CoreOptionValue
Source§fn clone(&self) -> CoreOptionValue
fn clone(&self) -> CoreOptionValue
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 CoreOptionValue
impl Debug for CoreOptionValue
Source§impl PartialEq for CoreOptionValue
impl PartialEq for CoreOptionValue
Source§fn eq(&self, other: &CoreOptionValue) -> bool
fn eq(&self, other: &CoreOptionValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CoreOptionValue
impl StructuralPartialEq for CoreOptionValue
Auto Trait Implementations§
impl Freeze for CoreOptionValue
impl RefUnwindSafe for CoreOptionValue
impl Send for CoreOptionValue
impl Sync for CoreOptionValue
impl Unpin for CoreOptionValue
impl UnsafeUnpin for CoreOptionValue
impl UnwindSafe for CoreOptionValue
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