Struct rusoto_route53domains::ContactDetail
source · [−]pub struct ContactDetail {Show 14 fields
pub address_line_1: Option<String>,
pub address_line_2: Option<String>,
pub city: Option<String>,
pub contact_type: Option<String>,
pub country_code: Option<String>,
pub email: Option<String>,
pub extra_params: Option<Vec<ExtraParam>>,
pub fax: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub organization_name: Option<String>,
pub phone_number: Option<String>,
pub state: Option<String>,
pub zip_code: Option<String>,
}
Expand description
ContactDetail includes the following elements.
Fields
address_line_1: Option<String>
First line of the contact's address.
address_line_2: Option<String>
Second line of contact's address, if any.
city: Option<String>
The city of the contact's address.
contact_type: Option<String>
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 forOrganizationName
. -
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 specifyINDIVIDUAL
for the value ofESLEGALFORM
.
country_code: Option<String>
Code for the country of the contact's address.
email: Option<String>
Email address of the contact.
extra_params: Option<Vec<ExtraParam>>
A list of name-value pairs for parameters required by certain top-level domains.
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"
.
first_name: Option<String>
First name of contact.
last_name: Option<String>
Last name of contact.
organization_name: Option<String>
Name of the organization for contact types other than PERSON
.
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"
.
state: Option<String>
The state or province of the contact's city.
zip_code: Option<String>
The zip or postal code of the contact's address.
Trait Implementations
sourceimpl Clone for ContactDetail
impl Clone for ContactDetail
sourcefn clone(&self) -> ContactDetail
fn clone(&self) -> ContactDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ContactDetail
impl Debug for ContactDetail
sourceimpl Default for ContactDetail
impl Default for ContactDetail
sourcefn default() -> ContactDetail
fn default() -> ContactDetail
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ContactDetail
impl<'de> Deserialize<'de> for ContactDetail
sourcefn 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
sourceimpl PartialEq<ContactDetail> for ContactDetail
impl PartialEq<ContactDetail> for ContactDetail
sourcefn eq(&self, other: &ContactDetail) -> bool
fn eq(&self, other: &ContactDetail) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ContactDetail) -> bool
fn ne(&self, other: &ContactDetail) -> bool
This method tests for !=
.
sourceimpl Serialize for ContactDetail
impl Serialize for ContactDetail
impl StructuralPartialEq for ContactDetail
Auto Trait Implementations
impl RefUnwindSafe for ContactDetail
impl Send for ContactDetail
impl Sync for ContactDetail
impl Unpin for ContactDetail
impl UnwindSafe for ContactDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more