[][src]Enum gcp_client::google::appengine::v1::ServingStatus

#[repr(i32)]pub enum ServingStatus {
    Unspecified,
    Serving,
    Stopped,
}

Run states of a version.

Variants

Unspecified

Not specified.

Serving

Currently serving. Instances are created according to the scaling settings of the version.

Stopped

Disabled. No instances will be created and the scaling settings are ignored until the state of the version changes to SERVING.

Implementations

impl ServingStatus[src]

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

Returns true if value is a variant of ServingStatus.

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

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

Trait Implementations

impl Clone for ServingStatus[src]

impl Copy for ServingStatus[src]

impl Debug for ServingStatus[src]

impl Default for ServingStatus[src]

impl Eq for ServingStatus[src]

impl From<ServingStatus> for i32[src]

impl Hash for ServingStatus[src]

impl Ord for ServingStatus[src]

impl PartialEq<ServingStatus> for ServingStatus[src]

impl PartialOrd<ServingStatus> for ServingStatus[src]

impl StructuralEq for ServingStatus[src]

impl StructuralPartialEq for ServingStatus[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]