pub enum IoK8sApiCoreV1PersistentVolumeClaimStatusPhase {
Bound,
Lost,
Pending,
}Expand description
Phase represents the current phase of PersistentVolumeClaim.
Possible enum values:
"Bound"used for PersistentVolumeClaims that are bound"Lost"used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost."Pending"used for PersistentVolumeClaims that are not yet bound
Variants§
Trait Implementations§
Source§impl Clone for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl Clone for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
Source§fn clone(&self) -> IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
fn clone(&self) -> IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl<'de> Deserialize<'de> for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&IoK8sApiCoreV1PersistentVolumeClaimStatusPhase> for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl From<&IoK8sApiCoreV1PersistentVolumeClaimStatusPhase> for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
Source§fn from(value: &IoK8sApiCoreV1PersistentVolumeClaimStatusPhase) -> Self
fn from(value: &IoK8sApiCoreV1PersistentVolumeClaimStatusPhase) -> Self
Converts to this type from the input type.
Source§impl Ord for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl Ord for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
Source§fn cmp(
&self,
other: &IoK8sApiCoreV1PersistentVolumeClaimStatusPhase,
) -> Ordering
fn cmp( &self, other: &IoK8sApiCoreV1PersistentVolumeClaimStatusPhase, ) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl PartialEq for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
Source§fn eq(&self, other: &IoK8sApiCoreV1PersistentVolumeClaimStatusPhase) -> bool
fn eq(&self, other: &IoK8sApiCoreV1PersistentVolumeClaimStatusPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl PartialOrd for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl Copy for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl Eq for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl StructuralPartialEq for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl RefUnwindSafe for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl Send for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl Sync for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl Unpin for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
impl UnwindSafe for IoK8sApiCoreV1PersistentVolumeClaimStatusPhase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more