Enum gapi_grpc::google::cloud::sql::v1beta4::SqlInstanceType[][src]

#[repr(i32)]pub enum SqlInstanceType {
    Unspecified,
    CloudSqlInstance,
    OnPremisesInstance,
    ReadReplicaInstance,
}

Variants

Unspecified

This is an unknown Cloud SQL instance type.

CloudSqlInstance

A regular Cloud SQL instance.

OnPremisesInstance

An instance running on the customer’s premises that is not managed by Cloud SQL.

ReadReplicaInstance

A Cloud SQL instance acting as a read-replica.

Implementations

impl SqlInstanceType[src]

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

Returns true if value is a variant of SqlInstanceType.

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

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

Trait Implementations

impl Clone for SqlInstanceType[src]

impl Copy for SqlInstanceType[src]

impl Debug for SqlInstanceType[src]

impl Default for SqlInstanceType[src]

impl Eq for SqlInstanceType[src]

impl From<SqlInstanceType> for i32[src]

impl Hash for SqlInstanceType[src]

impl Ord for SqlInstanceType[src]

impl PartialEq<SqlInstanceType> for SqlInstanceType[src]

impl PartialOrd<SqlInstanceType> for SqlInstanceType[src]

impl StructuralEq for SqlInstanceType[src]

impl StructuralPartialEq for SqlInstanceType[src]

Auto Trait Implementations

impl RefUnwindSafe for SqlInstanceType

impl Send for SqlInstanceType

impl Sync for SqlInstanceType

impl Unpin for SqlInstanceType

impl UnwindSafe for SqlInstanceType

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]