Struct sendgrid_api::types::ContactDetails2 [−][src]
pub struct ContactDetails2 {Show 22 fields
pub metadata: Option<SelfMetadata>,
pub address_line_1: String,
pub address_line_2: String,
pub alternate_emails: Vec<String>,
pub city: String,
pub country: String,
pub created_at: Option<DateTime<Utc>>,
pub custom_fields: Option<Help>,
pub email: String,
pub facebook: String,
pub first_name: String,
pub id: Uuid,
pub last_name: String,
pub line: String,
pub list_ids: Vec<Uuid>,
pub phone_number: String,
pub postal_code: String,
pub segment_ids: Vec<Uuid>,
pub state_province_region: String,
pub unique_name: String,
pub updated_at: Option<DateTime<Utc>>,
pub whatsapp: String,
}Fields
metadata: Option<SelfMetadata>address_line_1: Stringaddress_line_2: Stringalternate_emails: Vec<String>city: Stringcountry: Stringcreated_at: Option<DateTime<Utc>>custom_fields: Option<Help>email: Stringfacebook: Stringfirst_name: Stringid: UuidID of the transactional template version.
last_name: Stringline: Stringlist_ids: Vec<Uuid>The contact’s list IDs.
phone_number: Stringpostal_code: Stringsegment_ids: Vec<Uuid>state_province_region: Stringunique_name: Stringupdated_at: Option<DateTime<Utc>>whatsapp: StringTrait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ContactDetails2
impl Send for ContactDetails2
impl Sync for ContactDetails2
impl Unpin for ContactDetails2
impl UnwindSafe for ContactDetails2
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more