pub struct EmittedEvent {
pub cursor: Cursor,
pub event: WalletEvent,
}Expand description
A delivered event paired with its monotonic Cursor.
The engine stamps a per-instance cursor on every event as it is emitted; subscribers remember
the last cursor and pass it to catch_up after a gap. This envelope is what flows over the
subscription stream (live) and what catch-up returns (backfill).
Fields§
§cursor: CursorThe monotonic delivery cursor.
event: WalletEventThe event payload.
Trait Implementations§
Source§impl Clone for EmittedEvent
impl Clone for EmittedEvent
Source§fn clone(&self) -> EmittedEvent
fn clone(&self) -> EmittedEvent
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 moreSource§impl Debug for EmittedEvent
impl Debug for EmittedEvent
Source§impl<'de> Deserialize<'de> for EmittedEvent
impl<'de> Deserialize<'de> for EmittedEvent
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
impl Eq for EmittedEvent
Source§impl PartialEq for EmittedEvent
impl PartialEq for EmittedEvent
Source§impl Serialize for EmittedEvent
impl Serialize for EmittedEvent
impl StructuralPartialEq for EmittedEvent
Auto Trait Implementations§
impl Freeze for EmittedEvent
impl RefUnwindSafe for EmittedEvent
impl Send for EmittedEvent
impl Sync for EmittedEvent
impl Unpin for EmittedEvent
impl UnsafeUnpin for EmittedEvent
impl UnwindSafe for EmittedEvent
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