pub struct SequencedMarketEvent {
pub event: MarketEvent,
pub source_row_ordinal: u64,
pub available_at: Option<NaiveDateTime>,
}Expand description
A streaming event paired with its physical source-row ordinal.
Fields§
§event: MarketEvent§source_row_ordinal: u64§available_at: Option<NaiveDateTime>Implementations§
Source§impl SequencedMarketEvent
impl SequencedMarketEvent
pub fn new(event: MarketEvent, source_row_ordinal: u64) -> Self
pub const fn with_available_at(self, available_at: NaiveDateTime) -> Self
Trait Implementations§
Source§impl Clone for SequencedMarketEvent
impl Clone for SequencedMarketEvent
Source§impl Debug for SequencedMarketEvent
impl Debug for SequencedMarketEvent
Source§impl EventSourceItem for SequencedMarketEvent
impl EventSourceItem for SequencedMarketEvent
fn into_event_ordinal_and_availability( self, ) -> (MarketEvent, Option<u64>, Option<NaiveDateTime>)
Auto Trait Implementations§
impl Freeze for SequencedMarketEvent
impl RefUnwindSafe for SequencedMarketEvent
impl Send for SequencedMarketEvent
impl Sync for SequencedMarketEvent
impl Unpin for SequencedMarketEvent
impl UnsafeUnpin for SequencedMarketEvent
impl UnwindSafe for SequencedMarketEvent
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