Struct k8s_openapi::v1_9::api::core::v1::PodTemplateSpec[][src]

pub struct PodTemplateSpec {
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<PodSpec>,
}

PodTemplateSpec describes the data a pod should have when created from a template

Fields

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

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

Trait Implementations

impl Clone for PodTemplateSpec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PodTemplateSpec
[src]

Formats the value using the given formatter. Read more

impl Default for PodTemplateSpec
[src]

Returns the "default value" for a type. Read more

impl PartialEq for PodTemplateSpec
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for PodTemplateSpec
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations