pub struct AddContact {
pub email: String,
pub name: Option<String>,
pub metadata: Option<Value>,
}Expand description
Body for adding a contact to a list.
Fields§
§email: StringEmail address (required).
name: Option<String>Display name.
metadata: Option<Value>Arbitrary custom fields.
Implementations§
Trait Implementations§
Source§impl Clone for AddContact
impl Clone for AddContact
Source§fn clone(&self) -> AddContact
fn clone(&self) -> AddContact
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 AddContact
impl Debug for AddContact
Auto Trait Implementations§
impl Freeze for AddContact
impl RefUnwindSafe for AddContact
impl Send for AddContact
impl Sync for AddContact
impl Unpin for AddContact
impl UnsafeUnpin for AddContact
impl UnwindSafe for AddContact
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