Struct aws_sdk_route53domains::model::ContactDetail[][src]

#[non_exhaustive]
pub struct ContactDetail {
Show 14 fields pub first_name: Option<String>, pub last_name: Option<String>, pub contact_type: Option<ContactType>, pub organization_name: Option<String>, pub address_line1: Option<String>, pub address_line2: Option<String>, pub city: Option<String>, pub state: Option<String>, pub country_code: Option<CountryCode>, pub zip_code: Option<String>, pub phone_number: Option<String>, pub email: Option<String>, pub fax: Option<String>, pub extra_params: Option<Vec<ExtraParam>>,
}
Expand description

ContactDetail includes the following elements.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
first_name: Option<String>

First name of contact.

last_name: Option<String>

Last name of contact.

contact_type: Option<ContactType>

Indicates whether the contact is a person, company, association, or public organization. Note the following:

  • If you specify a value other than PERSON, you must also specify a value for OrganizationName.

  • For some TLDs, the privacy protection available depends on the value that you specify for Contact Type. For the privacy protection settings for your TLD, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide

  • For .es domains, if you specify PERSON, you must specify INDIVIDUAL for the value of ES_LEGAL_FORM.

organization_name: Option<String>

Name of the organization for contact types other than PERSON.

address_line1: Option<String>

First line of the contact's address.

address_line2: Option<String>

Second line of contact's address, if any.

city: Option<String>

The city of the contact's address.

state: Option<String>

The state or province of the contact's city.

country_code: Option<CountryCode>

Code for the country of the contact's address.

zip_code: Option<String>

The zip or postal code of the contact's address.

phone_number: Option<String>

The phone number of the contact.

Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890".

email: Option<String>

Email address of the contact.

fax: Option<String>

Fax number of the contact.

Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890".

extra_params: Option<Vec<ExtraParam>>

A list of name-value pairs for parameters required by certain top-level domains.

Implementations

First name of contact.

Last name of contact.

Indicates whether the contact is a person, company, association, or public organization. Note the following:

  • If you specify a value other than PERSON, you must also specify a value for OrganizationName.

  • For some TLDs, the privacy protection available depends on the value that you specify for Contact Type. For the privacy protection settings for your TLD, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide

  • For .es domains, if you specify PERSON, you must specify INDIVIDUAL for the value of ES_LEGAL_FORM.

Name of the organization for contact types other than PERSON.

First line of the contact's address.

Second line of contact's address, if any.

The city of the contact's address.

The state or province of the contact's city.

Code for the country of the contact's address.

The zip or postal code of the contact's address.

The phone number of the contact.

Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890".

Email address of the contact.

Fax number of the contact.

Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890".

A list of name-value pairs for parameters required by certain top-level domains.

Creates a new builder-style object to manufacture ContactDetail

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

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

This method tests for !=.

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)

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more