pub struct SubmitTestEventRequestBody {
pub event_group_id: Option<i64>,
pub event_id: Option<String>,
pub event_timestamp: Option<String>,
pub event_type: Option<EventType>,
pub message: Option<String>,
pub message_args: Option<Vec<String>>,
pub message_id: String,
pub message_severity: Option<Health>,
pub origin_of_condition: Option<String>,
pub severity: Option<String>,
}
Expand description
This action generates a test event.
Fields§
§event_group_id: Option<i64>
The group identifier for the event.
event_id: Option<String>
The ID for the event to add.
event_timestamp: Option<String>
The date and time for the event to add.
event_type: Option<EventType>
§message: Option<String>
The human-readable message for the event to add.
message_args: Option<Vec<String>>
An array of message arguments for the event to add.
message_id: String
The MessageId for the event to add.
message_severity: Option<Health>
§origin_of_condition: Option<String>
The URL in the OriginOfCondition property of the event to add. It is not a reference object.
severity: Option<String>
The severity for the event to add.
Trait Implementations§
Source§impl Clone for SubmitTestEventRequestBody
impl Clone for SubmitTestEventRequestBody
Source§fn clone(&self) -> SubmitTestEventRequestBody
fn clone(&self) -> SubmitTestEventRequestBody
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 SubmitTestEventRequestBody
impl Debug for SubmitTestEventRequestBody
Source§impl Default for SubmitTestEventRequestBody
impl Default for SubmitTestEventRequestBody
Source§impl<'de> Deserialize<'de> for SubmitTestEventRequestBody
impl<'de> Deserialize<'de> for SubmitTestEventRequestBody
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 SubmitTestEventRequestBody
impl Metadata<'static> for SubmitTestEventRequestBody
Source§const JSON_SCHEMA: &'static str = "EventService.v1_10_0.json"
const JSON_SCHEMA: &'static str = "EventService.v1_10_0.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 SubmitTestEventRequestBody
impl RefUnwindSafe for SubmitTestEventRequestBody
impl Send for SubmitTestEventRequestBody
impl Sync for SubmitTestEventRequestBody
impl Unpin for SubmitTestEventRequestBody
impl UnwindSafe for SubmitTestEventRequestBody
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