pub struct ReceivedEvent {
pub envelope: EventEnvelope,
pub event: Event,
}Expand description
A received event: the envelope (sequence, timestamp, actor) and its decoded body.
Fields§
§envelope: EventEnvelopeThe validated envelope.
event: EventThe decoded body.
Trait Implementations§
Source§impl Clone for ReceivedEvent
impl Clone for ReceivedEvent
Source§fn clone(&self) -> ReceivedEvent
fn clone(&self) -> ReceivedEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReceivedEvent
impl RefUnwindSafe for ReceivedEvent
impl Send for ReceivedEvent
impl Sync for ReceivedEvent
impl Unpin for ReceivedEvent
impl UnsafeUnpin for ReceivedEvent
impl UnwindSafe for ReceivedEvent
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