pub struct SessionEvent {
pub id: String,
pub key: Option<String>,
pub msg: Option<String>,
pub datetime: Option<String>,
pub subsystem: Option<String>,
pub site_id: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Event object from stat/event.
Fields§
§id: String§key: Option<String>§msg: Option<String>§datetime: Option<String>§subsystem: Option<String>§site_id: Option<String>§extra: Map<String, Value>Catch-all for undocumented fields.
Trait Implementations§
Source§impl Clone for SessionEvent
impl Clone for SessionEvent
Source§fn clone(&self) -> SessionEvent
fn clone(&self) -> SessionEvent
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 SessionEvent
impl Debug for SessionEvent
Source§impl<'de> Deserialize<'de> for SessionEvent
impl<'de> Deserialize<'de> for SessionEvent
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 From<SessionEvent> for Event
impl From<SessionEvent> for Event
Source§fn from(e: SessionEvent) -> Self
fn from(e: SessionEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SessionEvent
impl RefUnwindSafe for SessionEvent
impl Send for SessionEvent
impl Sync for SessionEvent
impl Unpin for SessionEvent
impl UnsafeUnpin for SessionEvent
impl UnwindSafe for SessionEvent
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