pub struct SubscribeOptionsPlan {
pub requested_session: i32,
pub backend_session: i32,
pub extended_time: bool,
pub orderbook_detail: bool,
}Fields§
§requested_session: i32§backend_session: i32§extended_time: bool§orderbook_detail: boolImplementations§
Source§impl SubscribeOptionsPlan
impl SubscribeOptionsPlan
Sourcepub fn from_raw(
requested_session: Option<i32>,
extended_time: Option<bool>,
orderbook_detail: Option<bool>,
) -> Result<Self, SubscribePlanError>
pub fn from_raw( requested_session: Option<i32>, extended_time: Option<bool>, orderbook_detail: Option<bool>, ) -> Result<Self, SubscribePlanError>
Normalize Qot_Sub option fields.
C++ APIServer_Qot_Sub.cpp:194-200 rejects Session_OVERNIGHT.
C++ ToSession(bExtendedTime, Session_NONE) maps omitted session to
ETH when extended_time=true, otherwise RTH.
Trait Implementations§
Source§impl Clone for SubscribeOptionsPlan
impl Clone for SubscribeOptionsPlan
Source§fn clone(&self) -> SubscribeOptionsPlan
fn clone(&self) -> SubscribeOptionsPlan
Returns a duplicate of the value. Read more
1.0.0 · 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 SubscribeOptionsPlan
impl Debug for SubscribeOptionsPlan
Source§impl PartialEq for SubscribeOptionsPlan
impl PartialEq for SubscribeOptionsPlan
impl Copy for SubscribeOptionsPlan
impl Eq for SubscribeOptionsPlan
impl StructuralPartialEq for SubscribeOptionsPlan
Auto Trait Implementations§
impl Freeze for SubscribeOptionsPlan
impl RefUnwindSafe for SubscribeOptionsPlan
impl Send for SubscribeOptionsPlan
impl Sync for SubscribeOptionsPlan
impl Unpin for SubscribeOptionsPlan
impl UnsafeUnpin for SubscribeOptionsPlan
impl UnwindSafe for SubscribeOptionsPlan
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