Struct gapi_grpc::google::appengine::v1beta::BasicScaling[][src]

pub struct BasicScaling {
    pub idle_timeout: Option<Duration>,
    pub max_instances: i32,
}

A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.

Fields

idle_timeout: Option<Duration>

Duration of time after the last request that an instance must wait before the instance is shut down.

max_instances: i32

Maximum number of instances to create for this version.

Trait Implementations

impl Clone for BasicScaling[src]

impl Debug for BasicScaling[src]

impl Default for BasicScaling[src]

impl Message for BasicScaling[src]

impl PartialEq<BasicScaling> for BasicScaling[src]

impl StructuralPartialEq for BasicScaling[src]

Auto Trait Implementations

impl RefUnwindSafe for BasicScaling

impl Send for BasicScaling

impl Sync for BasicScaling

impl Unpin for BasicScaling

impl UnwindSafe for BasicScaling

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