Struct k8s_openapi::api::core::v1::PodTemplateSpec
source · [−]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 PodTemplateSpec
impl Send for PodTemplateSpec
impl Sync for PodTemplateSpec
impl Unpin for PodTemplateSpec
impl UnwindSafe for PodTemplateSpec
Blanket Implementations
Mutably borrows from an owned value. Read more