pub struct Event {
pub date: Option<String>,
pub event_categories: Option<Vec<String>>,
pub event_id: Option<String>,
pub message: Option<String>,
pub severity: Option<String>,
pub source_identifier: Option<String>,
pub source_type: Option<String>,
}
Expand description
Describes an event.
Fields§
§date: Option<String>
The date and time of the event.
event_categories: Option<Vec<String>>
A list of the event categories.
Values: Configuration, Management, Monitoring, Security
event_id: Option<String>
The identifier of the event.
message: Option<String>
The text of this event.
severity: Option<String>
The severity of the event.
Values: ERROR, INFO
source_identifier: Option<String>
The identifier for the source of the event.
source_type: Option<String>
The source type for this event.
Trait Implementations§
impl StructuralPartialEq for Event
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