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
Source§impl Metadata<'static> for Condition
impl Metadata<'static> for Condition
Source§const JSON_SCHEMA: &'static str = "Resource.json"
const JSON_SCHEMA: &'static str = "Resource.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for Condition
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnwindSafe for Condition
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