Enum gapi_grpc::google::cloud::sql::v1beta4::database_instance::SqlInstanceState[][src]

#[repr(i32)]pub enum SqlInstanceState {
    Unspecified,
    Runnable,
    Suspended,
    PendingDelete,
    PendingCreate,
    Maintenance,
    Failed,
}

The current serving state of the database instance.

Variants

Unspecified

The state of the instance is unknown.

Runnable

The instance is running, or has been stopped by owner.

Suspended

The instance is not available, for example due to problems with billing.

PendingDelete

The instance is being deleted.

PendingCreate

The instance is being created.

Maintenance

The instance is down for maintenance.

Failed

The creation of the instance failed or a fatal error occurred during maintenance.

Implementations

impl SqlInstanceState[src]

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

Returns true if value is a variant of SqlInstanceState.

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

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

Trait Implementations

impl Clone for SqlInstanceState[src]

impl Copy for SqlInstanceState[src]

impl Debug for SqlInstanceState[src]

impl Default for SqlInstanceState[src]

impl Eq for SqlInstanceState[src]

impl From<SqlInstanceState> for i32[src]

impl Hash for SqlInstanceState[src]

impl Ord for SqlInstanceState[src]

impl PartialEq<SqlInstanceState> for SqlInstanceState[src]

impl PartialOrd<SqlInstanceState> for SqlInstanceState[src]

impl StructuralEq for SqlInstanceState[src]

impl StructuralPartialEq for SqlInstanceState[src]

Auto Trait Implementations

impl RefUnwindSafe for SqlInstanceState

impl Send for SqlInstanceState

impl Sync for SqlInstanceState

impl Unpin for SqlInstanceState

impl UnwindSafe for SqlInstanceState

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]