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

pub struct RegisterParameters {
    pub domain_name: String,
    pub availability: i32,
    pub supported_privacy: Vec<i32>,
    pub domain_notices: Vec<i32>,
    pub yearly_price: Option<Money>,
}

Parameters required to register a new domain.

Fields

domain_name: String

The domain name. Unicode domain names are expressed in Punycode format.

availability: i32

Indicates whether the domain is available for registration. This value is accurate when obtained by calling RetrieveRegisterParameters, but is approximate when obtained by calling SearchDomains.

supported_privacy: Vec<i32>

Contact privacy options that the domain supports.

domain_notices: Vec<i32>

Notices about special properties of the domain.

yearly_price: Option<Money>

Price to register or renew the domain for one year.

Implementations

impl RegisterParameters[src]

pub fn availability(&self) -> Availability[src]

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

pub fn set_availability(&mut self, value: Availability)[src]

Sets availability to the provided enum value.

pub fn supported_privacy(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ContactPrivacy>>
[src]

Returns an iterator which yields the valid enum values contained in supported_privacy.

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

Appends the provided enum value to supported_privacy.

pub fn domain_notices(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<DomainNotice>>
[src]

Returns an iterator which yields the valid enum values contained in domain_notices.

pub fn push_domain_notices(&mut self, value: DomainNotice)[src]

Appends the provided enum value to domain_notices.

Trait Implementations

impl Clone for RegisterParameters[src]

impl Debug for RegisterParameters[src]

impl Default for RegisterParameters[src]

impl Message for RegisterParameters[src]

impl PartialEq<RegisterParameters> for RegisterParameters[src]

impl StructuralPartialEq for RegisterParameters[src]

Auto Trait Implementations

impl RefUnwindSafe for RegisterParameters

impl Send for RegisterParameters

impl Sync for RegisterParameters

impl Unpin for RegisterParameters

impl UnwindSafe for RegisterParameters

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]