Struct k8s_openapi::api::core::v1::PodTemplateSpec [−][src]
pub struct PodTemplateSpec {
pub metadata: Option<ObjectMeta>,
pub spec: Option<PodSpec>,
}Expand description
PodTemplateSpec describes the data a pod should have when created from a template
Fields
metadata: Option<ObjectMeta>Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
spec: Option<PodSpec>Specification of the desired behavior of the pod. 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 PodTemplateSpecimpl Send for PodTemplateSpecimpl Sync for PodTemplateSpecimpl Unpin for PodTemplateSpecimpl UnwindSafe for PodTemplateSpecBlanket Implementations
Mutably borrows from an owned value. Read more