Struct redfish_codegen::models::resource::Condition
source · pub struct Condition {
pub log_entry: Option<IdRef>,
pub message: Option<String>,
pub message_args: Option<Vec<String>>,
pub message_id: String,
pub origin_of_condition: Option<IdRef>,
pub resolution: Option<String>,
pub severity: Option<Health>,
pub timestamp: Option<String>,
}
Expand description
A condition that requires attention.
Fields§
§log_entry: Option<IdRef>
§message: Option<String>
The human-readable message for this condition.
message_args: Option<Vec<String>>
An array of message arguments that are substituted for the arguments in the message when looked up in the message registry.
message_id: String
The identifier for the message.
origin_of_condition: Option<IdRef>
§resolution: Option<String>
Suggestions on how to resolve the condition.
severity: Option<Health>
§timestamp: Option<String>
The time the condition occurred.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Condition
impl<'de> Deserialize<'de> for Condition
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