[][src]Struct google_run1::RevisionTemplate

pub struct RevisionTemplate {
    pub spec: Option<RevisionSpec>,
    pub metadata: Option<ObjectMeta>,
}

RevisionTemplateSpec describes the data a revision should have when created from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190

This type is not used in any activity, and only used as part of another schema.

Fields

spec: Option<RevisionSpec>

RevisionSpec holds the desired state of the Revision (from the client).

metadata: Option<ObjectMeta>

Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.

Trait Implementations

impl Clone for RevisionTemplate[src]

impl Debug for RevisionTemplate[src]

impl Default for RevisionTemplate[src]

impl<'de> Deserialize<'de> for RevisionTemplate[src]

impl Part for RevisionTemplate[src]

impl Serialize for RevisionTemplate[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<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any