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 JsonSchema for ComponentCondition
impl JsonSchema for ComponentCondition
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 ComponentCondition
impl PartialEq 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 ==
.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