Enum gapi_grpc::google::cloud::functions::v1::CloudFunctionStatus[][src]

#[repr(i32)]pub enum CloudFunctionStatus {
    Unspecified,
    Active,
    Offline,
    DeployInProgress,
    DeleteInProgress,
    Unknown,
}

Describes the current stage of a deployment.

Variants

Unspecified

Not specified. Invalid state.

Active

Function has been successfully deployed and is serving.

Offline

Function deployment failed and the function isn’t serving.

DeployInProgress

Function is being created or updated.

DeleteInProgress

Function is being deleted.

Unknown

Function deployment failed and the function serving state is undefined. The function should be updated or deleted to move it out of this state.

Implementations

impl CloudFunctionStatus[src]

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

Returns true if value is a variant of CloudFunctionStatus.

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

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

Trait Implementations

impl Clone for CloudFunctionStatus[src]

impl Copy for CloudFunctionStatus[src]

impl Debug for CloudFunctionStatus[src]

impl Default for CloudFunctionStatus[src]

impl Eq for CloudFunctionStatus[src]

impl From<CloudFunctionStatus> for i32[src]

impl Hash for CloudFunctionStatus[src]

impl Ord for CloudFunctionStatus[src]

impl PartialEq<CloudFunctionStatus> for CloudFunctionStatus[src]

impl PartialOrd<CloudFunctionStatus> for CloudFunctionStatus[src]

impl StructuralEq for CloudFunctionStatus[src]

impl StructuralPartialEq for CloudFunctionStatus[src]

Auto Trait Implementations

impl RefUnwindSafe for CloudFunctionStatus

impl Send for CloudFunctionStatus

impl Sync for CloudFunctionStatus

impl Unpin for CloudFunctionStatus

impl UnwindSafe for CloudFunctionStatus

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]