pub struct PersistentVolumeClaimCondition {
pub last_probe_time: Option<Time>,
pub last_transition_time: Option<Time>,
pub message: Option<String>,
pub reason: Option<String>,
pub status: String,
pub type_: String,
}
Expand description
PersistentVolumeClaimCondition contains details about state of pvc
Fields§
§last_probe_time: Option<Time>
lastProbeTime is the time we probed the condition.
last_transition_time: Option<Time>
lastTransitionTime is the time the condition transitioned from one status to another.
message: Option<String>
message is the human-readable message indicating details about last transition.
reason: Option<String>
reason is a unique, this should be a short, machine understandable string that gives the reason for condition’s last transition. If it reports “Resizing” that means the underlying persistent volume is being resized.
status: String
§type_: String
Trait Implementations§
Source§impl Clone for PersistentVolumeClaimCondition
impl Clone for PersistentVolumeClaimCondition
Source§fn clone(&self) -> PersistentVolumeClaimCondition
fn clone(&self) -> PersistentVolumeClaimCondition
Returns a copy 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 DeepMerge for PersistentVolumeClaimCondition
impl DeepMerge for PersistentVolumeClaimCondition
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for PersistentVolumeClaimCondition
impl Default for PersistentVolumeClaimCondition
Source§fn default() -> PersistentVolumeClaimCondition
fn default() -> PersistentVolumeClaimCondition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PersistentVolumeClaimCondition
impl<'de> Deserialize<'de> for PersistentVolumeClaimCondition
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 JsonSchema for PersistentVolumeClaimCondition
impl JsonSchema for PersistentVolumeClaimCondition
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for PersistentVolumeClaimCondition
impl PartialEq for PersistentVolumeClaimCondition
Source§fn eq(&self, other: &PersistentVolumeClaimCondition) -> bool
fn eq(&self, other: &PersistentVolumeClaimCondition) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PersistentVolumeClaimCondition
Auto Trait Implementations§
impl Freeze for PersistentVolumeClaimCondition
impl RefUnwindSafe for PersistentVolumeClaimCondition
impl Send for PersistentVolumeClaimCondition
impl Sync for PersistentVolumeClaimCondition
impl Unpin for PersistentVolumeClaimCondition
impl UnwindSafe for PersistentVolumeClaimCondition
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