Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::PersistentVolumeClaimVolumeSource [−][src]
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 Clone for PersistentVolumeClaimVolumeSourcefn clone(&self) -> PersistentVolumeClaimVolumeSource[src]
fn clone(&self) -> PersistentVolumeClaimVolumeSourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for PersistentVolumeClaimVolumeSource[src]
impl Debug for PersistentVolumeClaimVolumeSourcefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for PersistentVolumeClaimVolumeSource[src]
impl Default for PersistentVolumeClaimVolumeSourcefn default() -> PersistentVolumeClaimVolumeSource[src]
fn default() -> PersistentVolumeClaimVolumeSourceReturns the "default value" for a type. Read more
impl PartialEq for PersistentVolumeClaimVolumeSource[src]
impl PartialEq for PersistentVolumeClaimVolumeSourcefn eq(&self, other: &PersistentVolumeClaimVolumeSource) -> bool[src]
fn eq(&self, other: &PersistentVolumeClaimVolumeSource) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &PersistentVolumeClaimVolumeSource) -> bool[src]
fn ne(&self, other: &PersistentVolumeClaimVolumeSource) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for PersistentVolumeClaimVolumeSource[src]
impl<'de> Deserialize<'de> for PersistentVolumeClaimVolumeSourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for PersistentVolumeClaimVolumeSource[src]
impl Serialize for PersistentVolumeClaimVolumeSourceAuto Trait Implementations
impl Send for PersistentVolumeClaimVolumeSource
impl Send for PersistentVolumeClaimVolumeSourceimpl Sync for PersistentVolumeClaimVolumeSource
impl Sync for PersistentVolumeClaimVolumeSource