pub struct Contact {
pub id: ContactId,
pub email: String,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub unsubscribed: bool,
pub created_at: String,
pub properties: Option<HashMap<String, ContactPropertyResponse>>,
}Expand description
Details of an existing contact.
Fields§
§id: ContactIdUnique identifier for the contact.
email: StringEmail address of the contact.
first_name: Option<String>First name of the contact.
last_name: Option<String>Last name of the contact.
unsubscribed: boolIndicates if the contact is unsubscribed.
created_at: StringTimestamp indicating when the contact was created.
properties: Option<HashMap<String, ContactPropertyResponse>>Custom properties for the contact.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Contact
impl<'de> Deserialize<'de> for Contact
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Contact
impl RefUnwindSafe for Contact
impl Send for Contact
impl Sync for Contact
impl Unpin for Contact
impl UnsafeUnpin for Contact
impl UnwindSafe for Contact
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