Enum google_api_proto::google::cloud::domains::v1beta1::ContactPrivacy
source · #[repr(i32)]pub enum ContactPrivacy {
Unspecified = 0,
PublicContactData = 1,
PrivateContactData = 2,
RedactedContactData = 3,
}
Expand description
Defines a set of possible contact privacy settings for a Registration
.
ICANN maintains the WHOIS database, a publicly
accessible mapping from domain name to contact information, and requires that
each domain name have an entry. Choose from these options to control how much
information in your ContactSettings
is published.
Variants§
Unspecified = 0
The contact privacy settings are undefined.
PublicContactData = 1
All the data from ContactSettings
is publicly available. When setting
this option, you must also provide a
PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT
in the contact_notices
field of the
request.
PrivateContactData = 2
None of the data from ContactSettings
is publicly available. Instead,
proxy contact data is published for your domain. Email sent to the proxy
email address is forwarded to the registrant’s email address. Cloud Domains
provides this privacy proxy service at no additional cost.
RedactedContactData = 3
Some data from ContactSettings
is publicly available. The actual
information redacted depends on the domain. For details, see the
registration privacy
article.
Implementations§
source§impl ContactPrivacy
impl ContactPrivacy
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ContactPrivacy
impl Clone for ContactPrivacy
source§fn clone(&self) -> ContactPrivacy
fn clone(&self) -> ContactPrivacy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContactPrivacy
impl Debug for ContactPrivacy
source§impl Default for ContactPrivacy
impl Default for ContactPrivacy
source§fn default() -> ContactPrivacy
fn default() -> ContactPrivacy
source§impl From<ContactPrivacy> for i32
impl From<ContactPrivacy> for i32
source§fn from(value: ContactPrivacy) -> i32
fn from(value: ContactPrivacy) -> i32
source§impl Hash for ContactPrivacy
impl Hash for ContactPrivacy
source§impl Ord for ContactPrivacy
impl Ord for ContactPrivacy
source§fn cmp(&self, other: &ContactPrivacy) -> Ordering
fn cmp(&self, other: &ContactPrivacy) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ContactPrivacy
impl PartialEq for ContactPrivacy
source§fn eq(&self, other: &ContactPrivacy) -> bool
fn eq(&self, other: &ContactPrivacy) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ContactPrivacy
impl PartialOrd for ContactPrivacy
source§fn partial_cmp(&self, other: &ContactPrivacy) -> Option<Ordering>
fn partial_cmp(&self, other: &ContactPrivacy) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ContactPrivacy
impl TryFrom<i32> for ContactPrivacy
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ContactPrivacy, UnknownEnumValue>
fn try_from(value: i32) -> Result<ContactPrivacy, UnknownEnumValue>
impl Copy for ContactPrivacy
impl Eq for ContactPrivacy
impl StructuralPartialEq for ContactPrivacy
Auto Trait Implementations§
impl Freeze for ContactPrivacy
impl RefUnwindSafe for ContactPrivacy
impl Send for ContactPrivacy
impl Sync for ContactPrivacy
impl Unpin for ContactPrivacy
impl UnwindSafe for ContactPrivacy
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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