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

pub struct PersistentVolumeClaimStatus {
    pub access_modes: Option<Vec<String>>,
    pub capacity: Option<BTreeMap<String, Quantity>>,
    pub conditions: Option<Vec<PersistentVolumeClaimCondition>>,
    pub phase: Option<String>,
}

PersistentVolumeClaimStatus is the current status of a persistent volume claim.

Fields

access_modes: Option<Vec<String>>

AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

capacity: Option<BTreeMap<String, Quantity>>

Represents the actual resources of the underlying volume.

conditions: Option<Vec<PersistentVolumeClaimCondition>>

Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.

phase: Option<String>

Phase represents the current phase of PersistentVolumeClaim.

Trait Implementations

impl Clone for PersistentVolumeClaimStatus[src]

impl Debug for PersistentVolumeClaimStatus[src]

impl Default for PersistentVolumeClaimStatus[src]

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

impl PartialEq<PersistentVolumeClaimStatus> for PersistentVolumeClaimStatus[src]

impl Serialize for PersistentVolumeClaimStatus[src]

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