pub struct EventContext {
pub ts: Option<String>,
pub uuid: Option<String>,
pub token: Option<String>,
pub type_: Option<String>,
pub schema: Option<String>,
pub header: Option<EventHeader>,
pub event: HashMap<String, Value>,
}Fields§
§ts: Option<String>§uuid: Option<String>§token: Option<String>§type_: Option<String>§schema: Option<String>§header: Option<EventHeader>§event: HashMap<String, Value>Trait Implementations§
Source§impl Debug for EventContext
impl Debug for EventContext
Source§impl<'de> Deserialize<'de> for EventContext
impl<'de> Deserialize<'de> for EventContext
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 EventContext
impl RefUnwindSafe for EventContext
impl Send for EventContext
impl Sync for EventContext
impl Unpin for EventContext
impl UnwindSafe for EventContext
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