pub struct Event {Show 13 fields
pub id: Option<i64>,
pub id_str: Option<String>,
pub title: Option<String>,
pub text: Option<String>,
pub date_happened: Option<i64>,
pub device_name: Option<String>,
pub host: Option<String>,
pub tags: Option<Tags>,
pub priority: Option<String>,
pub alert_type: Option<String>,
pub source_type_name: Option<String>,
pub payload: Option<String>,
pub url: Option<String>,
}Fields§
§id: Option<i64>§id_str: Option<String>§title: Option<String>§text: Option<String>§date_happened: Option<i64>§device_name: Option<String>§host: Option<String>§priority: Option<String>§alert_type: Option<String>§source_type_name: Option<String>§payload: Option<String>§url: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
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 Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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