Struct k8s_openapi_ext::corev1::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
sourceimpl Clone for ComponentCondition
impl Clone for ComponentCondition
sourcefn clone(&self) -> ComponentCondition
fn clone(&self) -> ComponentCondition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ComponentCondition
impl Debug for ComponentCondition
sourceimpl DeepMerge for ComponentCondition
impl DeepMerge for ComponentCondition
sourcefn merge_from(&mut self, other: ComponentCondition)
fn merge_from(&mut self, other: ComponentCondition)
Merge
other
into self
.sourceimpl Default for ComponentCondition
impl Default for ComponentCondition
sourcefn default() -> ComponentCondition
fn default() -> ComponentCondition
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ComponentCondition
impl<'de> Deserialize<'de> for ComponentCondition
sourcefn deserialize<D>(
deserializer: D
) -> Result<ComponentCondition, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ComponentCondition, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ComponentCondition> for ComponentCondition
impl PartialEq<ComponentCondition> for ComponentCondition
sourcefn eq(&self, other: &ComponentCondition) -> bool
fn eq(&self, other: &ComponentCondition) -> bool
sourceimpl Serialize for ComponentCondition
impl Serialize for ComponentCondition
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ComponentCondition
Auto Trait Implementations
impl RefUnwindSafe for ComponentCondition
impl Send for ComponentCondition
impl Sync for ComponentCondition
impl Unpin for ComponentCondition
impl UnwindSafe for ComponentCondition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more