Struct QotRightBackendUpdate
pub struct QotRightBackendUpdate {Show 27 fields
pub hk_own: Option<u32>,
pub hk_got: Option<u32>,
pub us_own: Option<u32>,
pub us_got: Option<u32>,
pub us_auth_ex: Option<u32>,
pub cn_got: Option<u32>,
pub sh_auth: Option<u32>,
pub sz_auth: Option<u32>,
pub hk_option: Option<u32>,
pub hk_future: Option<u32>,
pub hk_option_orderbook_depth: Option<u32>,
pub hk_future_orderbook_depth: Option<u32>,
pub us_option: Option<u32>,
pub us_future_cme_cboe: Option<u32>,
pub us_future_detail: Option<(Option<u32>, Option<u32>, Option<u32>, Option<u32>)>,
pub sg_future: Option<u32>,
pub jp_future: Option<u32>,
pub sg_stock: Option<u32>,
pub my_stock: Option<u32>,
pub jp_stock: Option<u32>,
pub digital_currency_auth: Option<u32>,
pub digital_pt_orderbook_auth: Option<u32>,
pub event_contract_auth: Option<u32>,
pub event_contract_prohibited_category_ids: Option<Vec<u32>>,
pub sub_limit: Option<u32>,
pub kl_limit: Option<u32>,
pub extras: QotRightBackendExtras,
}Fields§
§hk_own: Option<u32>C++ m_enQotRightHK; internal lifecycle fact, not the public got right.
hk_got: Option<u32>§us_own: Option<u32>C++ m_enQotRightUS; full snapshots pass Some(0) when absent.
us_got: Option<u32>§us_auth_ex: Option<u32>Full CMD6032 US_AUTH_EX; callers must pass Some(0) for absence so
an authoritative snapshot clears a stale UTP fact.
cn_got: Option<u32>§sh_auth: Option<u32>§sz_auth: Option<u32>§hk_option: Option<u32>§hk_future: Option<u32>§hk_option_orderbook_depth: Option<u32>§hk_future_orderbook_depth: Option<u32>§us_option: Option<u32>§us_future_cme_cboe: Option<u32>§us_future_detail: Option<(Option<u32>, Option<u32>, Option<u32>, Option<u32>)>§sg_future: Option<u32>§jp_future: Option<u32>§sg_stock: Option<u32>§my_stock: Option<u32>§jp_stock: Option<u32>§digital_currency_auth: Option<u32>§digital_pt_orderbook_auth: Option<u32>§event_contract_auth: Option<u32>§event_contract_prohibited_category_ids: Option<Vec<u32>>A full CMD6024 response always replaces this list, including with an
empty vector. None is reserved for partial/internal updates that must
leave the current cache untouched.
sub_limit: Option<u32>§kl_limit: Option<u32>§extras: QotRightBackendExtrasTrait Implementations§
§impl Clone for QotRightBackendUpdate
impl Clone for QotRightBackendUpdate
§fn clone(&self) -> QotRightBackendUpdate
fn clone(&self) -> QotRightBackendUpdate
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 more§impl Debug for QotRightBackendUpdate
impl Debug for QotRightBackendUpdate
§impl Default for QotRightBackendUpdate
impl Default for QotRightBackendUpdate
§fn default() -> QotRightBackendUpdate
fn default() -> QotRightBackendUpdate
Returns the “default value” for a type. Read more
impl Eq for QotRightBackendUpdate
§impl PartialEq for QotRightBackendUpdate
impl PartialEq for QotRightBackendUpdate
§fn eq(&self, other: &QotRightBackendUpdate) -> bool
fn eq(&self, other: &QotRightBackendUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QotRightBackendUpdate
Auto Trait Implementations§
impl Freeze for QotRightBackendUpdate
impl RefUnwindSafe for QotRightBackendUpdate
impl Send for QotRightBackendUpdate
impl Sync for QotRightBackendUpdate
impl Unpin for QotRightBackendUpdate
impl UnsafeUnpin for QotRightBackendUpdate
impl UnwindSafe for QotRightBackendUpdate
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§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