pub struct Message {
pub message: Option<String>,
pub message_args: Option<Vec<String>>,
pub message_id: String,
pub oem: Option<Oem>,
pub related_properties: Option<Vec<String>>,
pub resolution: Option<String>,
pub severity: Option<String>,
}
Expand description
The message that the Redfish service returns.
Fields§
§message: Option<String>
The human-readable message.
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.
oem: Option<Oem>
A set of properties described by the message.
resolution: Option<String>
Used to provide suggestions on how to resolve the situation that caused the message.
severity: Option<String>
The severity of the message.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Message
impl<'de> Deserialize<'de> for Message
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 Message
impl Metadata<'static> for Message
Source§const JSON_SCHEMA: &'static str = "Message.v1_0_10.json"
const JSON_SCHEMA: &'static str = "Message.v1_0_10.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 Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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