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: Uuid

ID 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: String

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.