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 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.
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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
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§fn default() -> SubmitTestEventRequestBody
fn default() -> SubmitTestEventRequestBody
Returns the “default value” for a type. Read more
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