pub struct UsFutureQtaAuth {
pub cme_auth: Option<u32>,
pub cboe_auth: Option<u32>,
pub open_api_cme_auth: Option<u32>,
pub open_api_cbot_auth: Option<u32>,
pub open_api_nymex_auth: Option<u32>,
pub open_api_comex_auth: Option<u32>,
}Expand description
美股期货细分出来的权限
Fields§
§cme_auth: Option<u32>cme(集合)交易所权限,值集[CLT_QUT_US_FUTURE_LV2, CLT_QUT_US_FUTURE_LV1, CLT_QUT_US_FUTURE_DELAY, CLT_QUT_US_FUTURE_NONE]
cboe_auth: Option<u32>cboe(集合)交易所权限,值集[CLT_QUT_US_FUTURE_LV2, CLT_QUT_US_FUTURE_LV1, CLT_QUT_US_FUTURE_DELAY, CLT_QUT_US_FUTURE_NONE] 注【2021622】:目前值和us_future_cme_cboe_auth的值一致,客户端提前做好LV2权限下发的兼容
open_api_cme_auth: Option<u32>OpenAPI cme交易所权限,值集[CLT_QUT_US_FUTURE_LV2, CLT_QUT_US_FUTURE_LV1, CLT_QUT_US_FUTURE_DELAY, CLT_QUT_US_FUTURE_NONE]
open_api_cbot_auth: Option<u32>OpenAPI cbot交易所权限,值集[CLT_QUT_US_FUTURE_LV2, CLT_QUT_US_FUTURE_LV1, CLT_QUT_US_FUTURE_DELAY, CLT_QUT_US_FUTURE_NONE]
open_api_nymex_auth: Option<u32>OpenAPI nymex交易所权限,值集[CLT_QUT_US_FUTURE_LV2, CLT_QUT_US_FUTURE_LV1, CLT_QUT_US_FUTURE_DELAY, CLT_QUT_US_FUTURE_NONE]
open_api_comex_auth: Option<u32>OpenAPI comex交易所权限,值集[CLT_QUT_US_FUTURE_LV2, CLT_QUT_US_FUTURE_LV1, CLT_QUT_US_FUTURE_DELAY, CLT_QUT_US_FUTURE_NONE]
Implementations§
Source§impl UsFutureQtaAuth
impl UsFutureQtaAuth
Sourcepub fn cme_auth(&self) -> u32
pub fn cme_auth(&self) -> u32
Returns the value of cme_auth, or the default value if cme_auth is unset.
Sourcepub fn cboe_auth(&self) -> u32
pub fn cboe_auth(&self) -> u32
Returns the value of cboe_auth, or the default value if cboe_auth is unset.
Sourcepub fn open_api_cme_auth(&self) -> u32
pub fn open_api_cme_auth(&self) -> u32
Returns the value of open_api_cme_auth, or the default value if open_api_cme_auth is unset.
Sourcepub fn open_api_cbot_auth(&self) -> u32
pub fn open_api_cbot_auth(&self) -> u32
Returns the value of open_api_cbot_auth, or the default value if open_api_cbot_auth is unset.
Sourcepub fn open_api_nymex_auth(&self) -> u32
pub fn open_api_nymex_auth(&self) -> u32
Returns the value of open_api_nymex_auth, or the default value if open_api_nymex_auth is unset.
Sourcepub fn open_api_comex_auth(&self) -> u32
pub fn open_api_comex_auth(&self) -> u32
Returns the value of open_api_comex_auth, or the default value if open_api_comex_auth is unset.
Trait Implementations§
Source§impl Clone for UsFutureQtaAuth
impl Clone for UsFutureQtaAuth
Source§fn clone(&self) -> UsFutureQtaAuth
fn clone(&self) -> UsFutureQtaAuth
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UsFutureQtaAuth
impl Debug for UsFutureQtaAuth
Source§impl Default for UsFutureQtaAuth
impl Default for UsFutureQtaAuth
Source§impl Hash for UsFutureQtaAuth
impl Hash for UsFutureQtaAuth
Source§impl Message for UsFutureQtaAuth
impl Message for UsFutureQtaAuth
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for UsFutureQtaAuth
impl PartialEq for UsFutureQtaAuth
impl Copy for UsFutureQtaAuth
impl Eq for UsFutureQtaAuth
impl StructuralPartialEq for UsFutureQtaAuth
Auto Trait Implementations§
impl Freeze for UsFutureQtaAuth
impl RefUnwindSafe for UsFutureQtaAuth
impl Send for UsFutureQtaAuth
impl Sync for UsFutureQtaAuth
impl Unpin for UsFutureQtaAuth
impl UnsafeUnpin for UsFutureQtaAuth
impl UnwindSafe for UsFutureQtaAuth
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
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
§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
§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
key and return true if they are equal.