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