pub struct Event<'a> {
pub id: EventID,
pub node: Option<Vec<u8>>,
pub body: IndexMap<MessageType, EventValues<'a>>,
pub container_info: Option<Body<'a>>,
pub is_filtered: bool,
/* private fields */
}Fields§
§id: EventID§node: Option<Vec<u8>>§body: IndexMap<MessageType, EventValues<'a>>§container_info: Option<Body<'a>>§is_filtered: boolImplementations§
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Event<'a>
impl<'de, 'a> Deserialize<'de> for Event<'a>
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<'a> Freeze for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> !Unpin for Event<'a>
impl<'a> UnwindSafe for Event<'a>
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