Struct google_api_proto::google::cloud::domains::v1beta1::TransferParameters
source · pub struct TransferParameters {
pub domain_name: String,
pub current_registrar: String,
pub name_servers: Vec<String>,
pub transfer_lock_state: i32,
pub supported_privacy: Vec<i32>,
pub yearly_price: Option<Money>,
}
Expand description
Parameters required to transfer a domain from another registrar.
Fields§
§domain_name: String
The domain name. Unicode domain names are expressed in Punycode format.
current_registrar: String
The registrar that currently manages the domain.
name_servers: Vec<String>
The name servers that currently store the configuration of the domain.
transfer_lock_state: i32
Indicates whether the domain is protected by a transfer lock. For a
transfer to succeed, this must show UNLOCKED
. To unlock a domain,
go to its current registrar.
supported_privacy: Vec<i32>
Contact privacy options that the domain supports.
yearly_price: Option<Money>
Price to transfer or renew the domain for one year.
Implementations§
source§impl TransferParameters
impl TransferParameters
sourcepub fn transfer_lock_state(&self) -> TransferLockState
pub fn transfer_lock_state(&self) -> TransferLockState
Returns the enum value of transfer_lock_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_transfer_lock_state(&mut self, value: TransferLockState)
pub fn set_transfer_lock_state(&mut self, value: TransferLockState)
Sets transfer_lock_state
to the provided enum value.
sourcepub fn supported_privacy(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ContactPrivacy>>
pub fn supported_privacy( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ContactPrivacy>>
Returns an iterator which yields the valid enum values contained in supported_privacy
.
sourcepub fn push_supported_privacy(&mut self, value: ContactPrivacy)
pub fn push_supported_privacy(&mut self, value: ContactPrivacy)
Appends the provided enum value to supported_privacy
.
Trait Implementations§
source§impl Clone for TransferParameters
impl Clone for TransferParameters
source§fn clone(&self) -> TransferParameters
fn clone(&self) -> TransferParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransferParameters
impl Debug for TransferParameters
source§impl Default for TransferParameters
impl Default for TransferParameters
source§impl Message for TransferParameters
impl Message for TransferParameters
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 TransferParameters
impl PartialEq for TransferParameters
source§fn eq(&self, other: &TransferParameters) -> bool
fn eq(&self, other: &TransferParameters) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransferParameters
Auto Trait Implementations§
impl Freeze for TransferParameters
impl RefUnwindSafe for TransferParameters
impl Send for TransferParameters
impl Sync for TransferParameters
impl Unpin for TransferParameters
impl UnwindSafe for TransferParameters
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