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

#[repr(i32)]pub enum SqlSuspensionReason {
    Unspecified,
    BillingIssue,
    LegalIssue,
    OperationalIssue,
    KmsKeyIssue,
}

The suspension reason of the database instance if the state is SUSPENDED.

Variants

Unspecified

This is an unknown suspension reason.

BillingIssue

The instance is suspended due to billing issues (for example:, GCP account issue)

LegalIssue

The instance is suspended due to illegal content (for example:, child pornography, copyrighted material, etc.).

OperationalIssue

The instance is causing operational issues (for example:, causing the database to crash).

KmsKeyIssue

The KMS key used by the instance is either revoked or denied access to

Implementations

impl SqlSuspensionReason[src]

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

Returns true if value is a variant of SqlSuspensionReason.

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

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

Trait Implementations

impl Clone for SqlSuspensionReason[src]

impl Copy for SqlSuspensionReason[src]

impl Debug for SqlSuspensionReason[src]

impl Default for SqlSuspensionReason[src]

impl Eq for SqlSuspensionReason[src]

impl From<SqlSuspensionReason> for i32[src]

impl Hash for SqlSuspensionReason[src]

impl Ord for SqlSuspensionReason[src]

impl PartialEq<SqlSuspensionReason> for SqlSuspensionReason[src]

impl PartialOrd<SqlSuspensionReason> for SqlSuspensionReason[src]

impl StructuralEq for SqlSuspensionReason[src]

impl StructuralPartialEq for SqlSuspensionReason[src]

Auto Trait Implementations

impl RefUnwindSafe for SqlSuspensionReason

impl Send for SqlSuspensionReason

impl Sync for SqlSuspensionReason

impl Unpin for SqlSuspensionReason

impl UnwindSafe for SqlSuspensionReason

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]