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
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 more
sourceimpl Debug for ComponentCondition
impl Debug for ComponentCondition
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<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
sourceimpl PartialEq<ComponentCondition> for ComponentCondition
impl PartialEq<ComponentCondition> for ComponentCondition
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ComponentCondition) -> bool
fn ne(&self, other: &ComponentCondition) -> bool
This method tests for !=
.
sourceimpl Serialize for ComponentCondition
impl Serialize for ComponentCondition
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more