Struct k8s_openapi::api::core::v1::ComponentCondition
source · pub struct ComponentCondition {
pub error: Option<String>,
pub message: Option<String>,
pub status: String,
pub type_: String,
}
Expand description
Information about the condition of a component.
Fields§
§error: Option<String>
Condition error code for a component. For example, a health check error code.
message: Option<String>
Message about the condition for a component. For example, information about a health check.
status: String
Status of the condition for a component. Valid values for “Healthy”: “True”, “False”, or “Unknown”.
type_: String
Type of condition for a component. Valid value: “Healthy”
Trait Implementations§
source§impl Clone for ComponentCondition
impl Clone for ComponentCondition
source§fn clone(&self) -> ComponentCondition
fn clone(&self) -> ComponentCondition
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 Debug for ComponentCondition
impl Debug for ComponentCondition
source§impl DeepMerge for ComponentCondition
impl DeepMerge for ComponentCondition
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ComponentCondition
impl Default for ComponentCondition
source§fn default() -> ComponentCondition
fn default() -> ComponentCondition
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ComponentCondition
impl<'de> Deserialize<'de> for ComponentCondition
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 PartialEq for ComponentCondition
impl PartialEq for ComponentCondition
source§impl Serialize for ComponentCondition
impl Serialize for ComponentCondition
impl StructuralPartialEq for ComponentCondition
Auto Trait Implementations§
impl Freeze for ComponentCondition
impl RefUnwindSafe for ComponentCondition
impl Send for ComponentCondition
impl Sync for ComponentCondition
impl Unpin for ComponentCondition
impl UnwindSafe for ComponentCondition
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)