pub struct MapEvent<K = String, V = String>{ /* private fields */ }Expand description
Generic flat-map event for user-defined key-value stores.
Flat key lookup only (no dot-notation, no nesting).
Implementations§
Trait Implementations§
Source§impl<K, V> Event for MapEvent<K, V>
impl<K, V> Event for MapEvent<K, V>
Source§fn get_field(&self, path: &str) -> Option<EventValue<'_>>
fn get_field(&self, path: &str) -> Option<EventValue<'_>>
Look up a field by name. Supports dot-notation for nested access. Read more
Auto Trait Implementations§
impl<K, V> Freeze for MapEvent<K, V>
impl<K, V> RefUnwindSafe for MapEvent<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for MapEvent<K, V>
impl<K, V> Sync for MapEvent<K, V>
impl<K, V> Unpin for MapEvent<K, V>
impl<K, V> UnsafeUnpin for MapEvent<K, V>
impl<K, V> UnwindSafe for MapEvent<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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