pub struct Event {
pub header: Option<EventHeader>,
pub payload: Option<EventPayload>,
}
Expand description
Contains all information about a single event
Fields§
§header: Option<EventHeader>
§payload: Option<EventPayload>
Trait Implementations§
Source§impl CompatFrom<Event> for Event
impl CompatFrom<Event> for Event
Source§fn compat_from(value: Event) -> Self
fn compat_from(value: Event) -> Self
Converts
value
into a value of this type.Source§impl CompatFrom<Event> for Event
impl CompatFrom<Event> for Event
Source§fn compat_from(value: Event) -> Self
fn compat_from(value: Event) -> Self
Converts
value
into a value of this type.Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.