pub struct RedfishError {
pub message_extended_info: Option<Vec<Message>>,
pub code: String,
pub message: String,
}
Expand description
The properties that describe an error from a Redfish service.
Fields§
§message_extended_info: Option<Vec<Message>>
An array of messages describing one or more error messages.
code: String
A string indicating a specific MessageId from a message registry.
message: String
A human-readable error message corresponding to the message in a message registry.
Trait Implementations§
Source§impl Clone for RedfishError
impl Clone for RedfishError
Source§fn clone(&self) -> RedfishError
fn clone(&self) -> RedfishError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RedfishError
impl Debug for RedfishError
Source§impl Default for RedfishError
impl Default for RedfishError
Source§impl<'de> Deserialize<'de> for RedfishError
impl<'de> Deserialize<'de> for RedfishError
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 RedfishError
impl Metadata<'static> for RedfishError
Source§const JSON_SCHEMA: &'static str = "redfish-error.v1_0_1.json"
const JSON_SCHEMA: &'static str = "redfish-error.v1_0_1.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 RedfishError
impl RefUnwindSafe for RedfishError
impl Send for RedfishError
impl Sync for RedfishError
impl Unpin for RedfishError
impl UnwindSafe for RedfishError
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