pub struct LabeledValue {
pub value: String,
pub label: Option<String>,
}Expand description
An email address or phone number with the label the card gives it.
Fields§
§value: StringThe address or number.
label: Option<String>Home, Work, Cell or a custom label.
Trait Implementations§
Source§impl Clone for LabeledValue
impl Clone for LabeledValue
Source§impl Debug for LabeledValue
impl Debug for LabeledValue
impl Eq for LabeledValue
Source§impl PartialEq for LabeledValue
impl PartialEq for LabeledValue
impl StructuralPartialEq for LabeledValue
Auto Trait Implementations§
impl Forget for LabeledValue
impl Freeze for LabeledValue
impl Move for LabeledValue
impl RefUnwindSafe for LabeledValue
impl Send for LabeledValuewhere
RawVecInner: Send,
impl Sync for LabeledValuewhere
RawVecInner: Sync,
impl Unpin for LabeledValue
impl UnsafeUnpin for LabeledValue
impl UnwindSafe for LabeledValuewhere
RawVecInner: UnwindSafe,
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