Struct k8s_openapi::api::batch::v1::JobTemplateSpec [−][src]
pub struct JobTemplateSpec {
pub metadata: Option<ObjectMeta>,
pub spec: Option<JobSpec>,
}
Expand description
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
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for JobTemplateSpec
impl Send for JobTemplateSpec
impl Sync for JobTemplateSpec
impl Unpin for JobTemplateSpec
impl UnwindSafe for JobTemplateSpec
Blanket Implementations
Mutably borrows from an owned value. Read more