Struct gapi_grpc::google::cloud::domains::v1alpha2::ContactSettings[][src]

pub struct ContactSettings {
    pub privacy: i32,
    pub registrant_contact: Option<Contact>,
    pub admin_contact: Option<Contact>,
    pub technical_contact: Option<Contact>,
}

Defines the contact information associated with a Registration.

ICANN requires all domain names to have associated contact information. The registrant_contact is considered the domain’s legal owner, and often the other contacts are identical.

Fields

privacy: i32

Required. Privacy setting for the contacts associated with the Registration.

registrant_contact: Option<Contact>

Required. The registrant contact for the Registration.

Caution: Anyone with access to this email address, phone number, and/or postal address can take control of the domain.

Warning: For new Registrations, the registrant will receive an email confirmation that they must complete within 14 days to avoid domain suspension.

admin_contact: Option<Contact>

Required. The administrative contact for the Registration.

technical_contact: Option<Contact>

Required. The technical contact for the Registration.

Implementations

impl ContactSettings[src]

pub fn privacy(&self) -> ContactPrivacy[src]

Returns the enum value of privacy, or the default if the field is set to an invalid enum value.

pub fn set_privacy(&mut self, value: ContactPrivacy)[src]

Sets privacy to the provided enum value.

Trait Implementations

impl Clone for ContactSettings[src]

impl Debug for ContactSettings[src]

impl Default for ContactSettings[src]

impl Message for ContactSettings[src]

impl PartialEq<ContactSettings> for ContactSettings[src]

impl StructuralPartialEq for ContactSettings[src]

Auto Trait Implementations

impl RefUnwindSafe for ContactSettings

impl Send for ContactSettings

impl Sync for ContactSettings

impl Unpin for ContactSettings

impl UnwindSafe for ContactSettings

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]