Struct google_api_proto::google::cloud::domains::v1alpha2::ContactSettings
source · pub struct ContactSettings {
pub privacy: i32,
pub registrant_contact: Option<Contact>,
pub admin_contact: Option<Contact>,
pub technical_contact: Option<Contact>,
}
Expand description
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 Registration
s, the registrant receives an email
confirmation that they must complete within 15 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§
source§impl ContactSettings
impl ContactSettings
sourcepub fn privacy(&self) -> ContactPrivacy
pub fn privacy(&self) -> ContactPrivacy
Returns the enum value of privacy
, or the default if the field is set to an invalid enum value.
sourcepub fn set_privacy(&mut self, value: ContactPrivacy)
pub fn set_privacy(&mut self, value: ContactPrivacy)
Sets privacy
to the provided enum value.
Trait Implementations§
source§impl Clone for ContactSettings
impl Clone for ContactSettings
source§fn clone(&self) -> ContactSettings
fn clone(&self) -> ContactSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContactSettings
impl Debug for ContactSettings
source§impl Default for ContactSettings
impl Default for ContactSettings
source§impl Message for ContactSettings
impl Message for ContactSettings
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ContactSettings
impl PartialEq for ContactSettings
source§fn eq(&self, other: &ContactSettings) -> bool
fn eq(&self, other: &ContactSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContactSettings
Auto Trait Implementations§
impl Freeze for ContactSettings
impl RefUnwindSafe for ContactSettings
impl Send for ContactSettings
impl Sync for ContactSettings
impl Unpin for ContactSettings
impl UnwindSafe for ContactSettings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request