pub struct EventMsg {
pub kind: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
A UI event echo. We only need its discriminant for the audit.
Fields§
§kind: Option<String>The event subtype (token_count, task_started, …).
extra: BTreeMap<String, Value>Anything else.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventMsg
impl<'de> Deserialize<'de> for EventMsg
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventMsg, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventMsg, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EventMsg
impl RefUnwindSafe for EventMsg
impl Send for EventMsg
impl Sync for EventMsg
impl Unpin for EventMsg
impl UnsafeUnpin for EventMsg
impl UnwindSafe for EventMsg
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