pub struct Message {
pub message: Option<String>,
pub message_args: Option<Vec<String>>,
pub message_id: String,
pub message_severity: Option<Health>,
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.
message_severity: Option<Health>
§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 Into<Message> for Composition
impl Into<Message> for Composition
Source§impl Into<Message> for Environmental
impl Into<Message> for Environmental
Source§impl Into<Message> for EthernetFabric
impl Into<Message> for EthernetFabric
Source§impl Into<Message> for HeartbeatEvent
impl Into<Message> for HeartbeatEvent
Source§impl Into<Message> for LogService
impl Into<Message> for LogService
Source§impl Into<Message> for NetworkDevice
impl Into<Message> for NetworkDevice
Source§impl Into<Message> for ResourceEvent
impl Into<Message> for ResourceEvent
Source§impl Into<Message> for SensorEvent
impl Into<Message> for SensorEvent
Source§impl Into<Message> for StorageDevice
impl Into<Message> for StorageDevice
Source§impl Metadata<'static> for Message
impl Metadata<'static> for Message
Source§const JSON_SCHEMA: &'static str = "Message.v1_1_2.json"
const JSON_SCHEMA: &'static str = "Message.v1_1_2.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