Struct k8s_openapi::api::core::v1::PersistentVolumeClaimTemplate [−][src]
pub struct PersistentVolumeClaimTemplate {
pub metadata: Option<ObjectMeta>,
pub spec: PersistentVolumeClaimSpec,
}
Expand description
PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.
Fields
metadata: Option<ObjectMeta>
May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.
spec: PersistentVolumeClaimSpec
The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
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 Send for PersistentVolumeClaimTemplate
impl Sync for PersistentVolumeClaimTemplate
impl Unpin for PersistentVolumeClaimTemplate
impl UnwindSafe for PersistentVolumeClaimTemplate
Blanket Implementations
Mutably borrows from an owned value. Read more