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

pub struct PersistentVolumeClaimVolumeSource {
    pub claim_name: String,
    pub read_only: Option<bool>,
}

PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).

Fields

claim_name: String

ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

read_only: Option<bool>

Will force the ReadOnly setting in VolumeMounts. Default false.

Trait Implementations

impl Clone for PersistentVolumeClaimVolumeSource[src]

impl Debug for PersistentVolumeClaimVolumeSource[src]

impl Default for PersistentVolumeClaimVolumeSource[src]

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

impl PartialEq<PersistentVolumeClaimVolumeSource> for PersistentVolumeClaimVolumeSource[src]

impl Serialize for PersistentVolumeClaimVolumeSource[src]

impl StructuralPartialEq for PersistentVolumeClaimVolumeSource[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.