pub struct CryptoExchangeFact {
pub version: u64,
pub exchanges: Arc<[CryptoExchangeInfo]>,
pub positive_lv2_prob_sum: Option<i32>,
}Expand description
Immutable request-level view of one exact (stock_id, broker_id) fact.
The writer publishes version, exact vector, and aggregate as one DashMap value.
Fields§
§version: u64§exchanges: Arc<[CryptoExchangeInfo]>§positive_lv2_prob_sum: Option<i32>Trait Implementations§
Source§impl Clone for CryptoExchangeFact
impl Clone for CryptoExchangeFact
Source§fn clone(&self) -> CryptoExchangeFact
fn clone(&self) -> CryptoExchangeFact
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 CryptoExchangeFact
impl Debug for CryptoExchangeFact
Source§impl PartialEq for CryptoExchangeFact
impl PartialEq for CryptoExchangeFact
Source§fn eq(&self, other: &CryptoExchangeFact) -> bool
fn eq(&self, other: &CryptoExchangeFact) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CryptoExchangeFact
Auto Trait Implementations§
impl Freeze for CryptoExchangeFact
impl RefUnwindSafe for CryptoExchangeFact
impl Send for CryptoExchangeFact
impl Sync for CryptoExchangeFact
impl Unpin for CryptoExchangeFact
impl UnsafeUnpin for CryptoExchangeFact
impl UnwindSafe for CryptoExchangeFact
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
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>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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