pub struct EventCreateRequest {
pub title: String,
pub text: String,
pub aggregation_key: Option<String>,
pub alert_type: Option<String>,
pub date_happened: Option<i64>,
pub device_name: Option<String>,
pub host: Option<String>,
pub priority: Option<String>,
pub related_event_id: Option<i64>,
pub source_type_name: Option<String>,
pub tags: Option<Tags>,
}Fields§
§title: String§text: String§aggregation_key: Option<String>§alert_type: Option<String>§date_happened: Option<i64>§device_name: Option<String>§host: Option<String>§priority: Option<String>§source_type_name: Option<String>Trait Implementations§
Source§impl Clone for EventCreateRequest
impl Clone for EventCreateRequest
Source§fn clone(&self) -> EventCreateRequest
fn clone(&self) -> EventCreateRequest
Returns a duplicate 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 EventCreateRequest
impl Debug for EventCreateRequest
Source§impl<'de> Deserialize<'de> for EventCreateRequest
impl<'de> Deserialize<'de> for EventCreateRequest
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
Auto Trait Implementations§
impl Freeze for EventCreateRequest
impl RefUnwindSafe for EventCreateRequest
impl Send for EventCreateRequest
impl Sync for EventCreateRequest
impl Unpin for EventCreateRequest
impl UnwindSafe for EventCreateRequest
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