pub struct FuturesOrderEventsResponse {
pub server_time: Option<String>,
pub order_events: Vec<FuturesOrderEventWrapper>,
pub continuation_token: Option<String>,
pub skipped_rows: Vec<SkippedHistoryRow>,
pub oldest_event_ms: Option<i64>,
}Expand description
Order events in the shape the readers consume, built from FuturesOrderHistoryResponse.
This is a projection, not a wire type: a page is decoded as FuturesOrderHistoryResponse
and converted, so a body of another shape cannot read as an empty page.
Fields§
§server_time: Option<String>§order_events: Vec<FuturesOrderEventWrapper>§continuation_token: Option<String>§skipped_rows: Vec<SkippedHistoryRow>Rows the projection could not represent. Each reader decides what a row means for it.
oldest_event_ms: Option<i64>The earliest event time on the page in milliseconds, over every element including the skipped ones. The venue returns history newest first, so with a continuation token this is how far back the page reaches.
Trait Implementations§
Source§impl Clone for FuturesOrderEventsResponse
impl Clone for FuturesOrderEventsResponse
Auto Trait Implementations§
impl Freeze for FuturesOrderEventsResponse
impl RefUnwindSafe for FuturesOrderEventsResponse
impl Send for FuturesOrderEventsResponse
impl Sync for FuturesOrderEventsResponse
impl Unpin for FuturesOrderEventsResponse
impl UnsafeUnpin for FuturesOrderEventsResponse
impl UnwindSafe for FuturesOrderEventsResponse
Blanket Implementations§
impl<T> Allocation for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more