[][src]Struct k8s_openapi::api::batch::v1beta1::JobTemplateSpec

pub struct JobTemplateSpec {
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<JobSpec>,
}

JobTemplateSpec describes the data a Job should have when created from a template

Fields

metadata: Option<ObjectMeta>

Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

spec: Option<JobSpec>

Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

Trait Implementations

impl Clone for JobTemplateSpec[src]

impl Debug for JobTemplateSpec[src]

impl Default for JobTemplateSpec[src]

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

impl PartialEq<JobTemplateSpec> for JobTemplateSpec[src]

impl Serialize for JobTemplateSpec[src]

impl StructuralPartialEq for JobTemplateSpec[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.