pub struct ContactUpdate {
pub full_name: Option<String>,
pub emails: Option<Vec<String>>,
pub phones: Option<Vec<String>>,
}Expand description
Changes to a contact. A field left as None stays as the card has it.
Fields§
§full_name: Option<String>New full name.
emails: Option<Vec<String>>New email addresses, replacing the current ones.
phones: Option<Vec<String>>New phone numbers, replacing the current ones.
Trait Implementations§
Source§impl Clone for ContactUpdate
impl Clone for ContactUpdate
Source§impl Debug for ContactUpdate
impl Debug for ContactUpdate
Source§impl Default for ContactUpdate
impl Default for ContactUpdate
impl Eq for ContactUpdate
Source§impl PartialEq for ContactUpdate
impl PartialEq for ContactUpdate
impl StructuralPartialEq for ContactUpdate
Auto Trait Implementations§
impl Forget for ContactUpdate
impl Freeze for ContactUpdate
impl Move for ContactUpdate
impl RefUnwindSafe for ContactUpdate
impl Send for ContactUpdatewhere
RawVecInner: Send,
impl Sync for ContactUpdatewhere
RawVecInner: Sync,
impl Unpin for ContactUpdate
impl UnsafeUnpin for ContactUpdatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ContactUpdatewhere
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