Enum gapi_grpc::google::cloud::domains::v1beta1::register_parameters::Availability[][src]

#[repr(i32)]pub enum Availability {
    Unspecified,
    Available,
    Unavailable,
    Unsupported,
    Unknown,
}

Possible availability states of a domain name.

Variants

Unspecified

The availability is unspecified.

Available

The domain is available for registration.

Unavailable

The domain is not available for registration. Generally this means it is already registered to another party.

Unsupported

The domain is not currently supported by Cloud Domains, but may be available elsewhere.

Unknown

Cloud Domains is unable to determine domain availability, generally due to system maintenance at the domain name registry.

Implementations

impl Availability[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of Availability.

pub fn from_i32(value: i32) -> Option<Availability>[src]

Converts an i32 to a Availability, or None if value is not a valid variant.

Trait Implementations

impl Clone for Availability[src]

impl Copy for Availability[src]

impl Debug for Availability[src]

impl Default for Availability[src]

impl Eq for Availability[src]

impl From<Availability> for i32[src]

impl Hash for Availability[src]

impl Ord for Availability[src]

impl PartialEq<Availability> for Availability[src]

impl PartialOrd<Availability> for Availability[src]

impl StructuralEq for Availability[src]

impl StructuralPartialEq for Availability[src]

Auto Trait Implementations

impl RefUnwindSafe for Availability

impl Send for Availability

impl Sync for Availability

impl Unpin for Availability

impl UnwindSafe for Availability

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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]