pub struct Contact<'a> {
pub email: &'a [Email<'a>],
pub phone: &'a [PhoneNumber<'a>],
}Expand description
A contact card. Comprised of emails and phone numbers.
Fields§
§email: &'a [Email<'a>]Emails for this contact.
phone: &'a [PhoneNumber<'a>]Phone numbers for this contact.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Contact<'a>
impl<'a> RefUnwindSafe for Contact<'a>
impl<'a> Send for Contact<'a>
impl<'a> Sync for Contact<'a>
impl<'a> Unpin for Contact<'a>
impl<'a> UnwindSafe for Contact<'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