[][src]Struct k8s_openapi::api::core::v1::PersistentVolumeClaimTemplate

pub struct PersistentVolumeClaimTemplate {
    pub metadata: Option<ObjectMeta>,
    pub spec: PersistentVolumeClaimSpec,
}

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

impl Clone for PersistentVolumeClaimTemplate[src]

impl Debug for PersistentVolumeClaimTemplate[src]

impl Default for PersistentVolumeClaimTemplate[src]

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

impl PartialEq<PersistentVolumeClaimTemplate> for PersistentVolumeClaimTemplate[src]

impl Serialize for PersistentVolumeClaimTemplate[src]

impl StructuralPartialEq for PersistentVolumeClaimTemplate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.