pub struct ReceivedEvent {
pub event: Event,
pub sequence: u64,
pub num_delivered: u64,
pub stream: String,
}Expand description
A received event with delivery context
Fields§
§event: EventThe event data
sequence: u64Provider-assigned sequence number
num_delivered: u64Number of delivery attempts
stream: StringStream/topic name
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 · 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