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<ComponentCondition> for ComponentCondition
impl PartialEq<ComponentCondition> for ComponentCondition
source§fn eq(&self, other: &ComponentCondition) -> bool
fn eq(&self, other: &ComponentCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.