pub struct IoK8sApiCoreV1PersistentVolumeClaimCondition {
pub last_probe_time: Option<IoK8sApimachineryPkgApisMetaV1Time>,
pub last_transition_time: Option<IoK8sApimachineryPkgApisMetaV1Time>,
pub message: Option<String>,
pub reason: Option<String>,
pub status: String,
pub type_: IoK8sApiCoreV1PersistentVolumeClaimConditionType,
}Expand description
PersistentVolumeClaimCondition contails details about state of pvc
Fields§
§last_probe_time: Option<IoK8sApimachineryPkgApisMetaV1Time>Last time we probed the condition.
last_transition_time: Option<IoK8sApimachineryPkgApisMetaV1Time>Last time the condition transitioned from one status to another.
message: Option<String>Human-readable message indicating details about last transition.
reason: Option<String>Unique, this should be a short, machine understandable string that gives the reason for condition’s last transition. If it reports “ResizeStarted” that means the underlying persistent volume is being resized.
status: String§type_: IoK8sApiCoreV1PersistentVolumeClaimConditionTypePossible enum values:
"FileSystemResizePending"- controller resize is finished and a file system resize is pending on node"Resizing"- a user trigger resize of pvc has been started
Trait Implementations§
Source§impl Clone for IoK8sApiCoreV1PersistentVolumeClaimCondition
impl Clone for IoK8sApiCoreV1PersistentVolumeClaimCondition
Source§fn clone(&self) -> IoK8sApiCoreV1PersistentVolumeClaimCondition
fn clone(&self) -> IoK8sApiCoreV1PersistentVolumeClaimCondition
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 IoK8sApiCoreV1PersistentVolumeClaimCondition
impl<'de> Deserialize<'de> for IoK8sApiCoreV1PersistentVolumeClaimCondition
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<&IoK8sApiCoreV1PersistentVolumeClaimCondition> for IoK8sApiCoreV1PersistentVolumeClaimCondition
impl From<&IoK8sApiCoreV1PersistentVolumeClaimCondition> for IoK8sApiCoreV1PersistentVolumeClaimCondition
Source§fn from(value: &IoK8sApiCoreV1PersistentVolumeClaimCondition) -> Self
fn from(value: &IoK8sApiCoreV1PersistentVolumeClaimCondition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1PersistentVolumeClaimCondition
impl RefUnwindSafe for IoK8sApiCoreV1PersistentVolumeClaimCondition
impl Send for IoK8sApiCoreV1PersistentVolumeClaimCondition
impl Sync for IoK8sApiCoreV1PersistentVolumeClaimCondition
impl Unpin for IoK8sApiCoreV1PersistentVolumeClaimCondition
impl UnwindSafe for IoK8sApiCoreV1PersistentVolumeClaimCondition
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