pub struct QotRight {Show 19 fields
pub hk_qot_right: i32,
pub us_qot_right: i32,
pub cn_qot_right: i32,
pub hk_option_qot_right: Option<i32>,
pub has_us_option_qot_right: Option<bool>,
pub hk_future_qot_right: Option<i32>,
pub us_future_qot_right: Option<i32>,
pub us_option_qot_right: Option<i32>,
pub us_index_qot_right: Option<i32>,
pub us_otc_qot_right: Option<i32>,
pub sg_future_qot_right: Option<i32>,
pub jp_future_qot_right: Option<i32>,
pub us_cme_future_qot_right: Option<i32>,
pub us_cbot_future_qot_right: Option<i32>,
pub us_nymex_future_qot_right: Option<i32>,
pub us_comex_future_qot_right: Option<i32>,
pub us_cboe_future_qot_right: Option<i32>,
pub sh_qot_right: Option<i32>,
pub sz_qot_right: Option<i32>,
}Fields§
§hk_qot_right: i32港股行情权限, Qot_Common.QotRight
us_qot_right: i32美股行情权限, Qot_Common.QotRight
cn_qot_right: i32A股行情权限, Qot_Common.QotRight // (已废弃),使用shQotRight和szQotRight
hk_option_qot_right: Option<i32>港股期权行情权限, Qot_Common.QotRight
has_us_option_qot_right: Option<bool>是否有美股期权行情权限
hk_future_qot_right: Option<i32>港股期货行情权限, Qot_Common.QotRight
us_future_qot_right: Option<i32>美股期货行情权限, Qot_Common.QotRight(已废弃)
us_option_qot_right: Option<i32>美股期权行情权限, Qot_Common.QotRight
us_index_qot_right: Option<i32>美股指数行情权限, Qot_Common.QotRight
us_otc_qot_right: Option<i32>美股OTC市场行情权限, Qot_Common.QotRight
sg_future_qot_right: Option<i32>新加坡市场期货行情权限, Qot_Common.QotRight
jp_future_qot_right: Option<i32>日本市场期货行情权限, Qot_Common.QotRight
us_cme_future_qot_right: Option<i32>美股CME期货行情权限, Qot_Common.QotRight
us_cbot_future_qot_right: Option<i32>美股CBOT期货行情权限, Qot_Common.QotRight
us_nymex_future_qot_right: Option<i32>美股NYMEX期货行情权限, Qot_Common.QotRight
us_comex_future_qot_right: Option<i32>美股COMEX期货行情权限, Qot_Common.QotRight
us_cboe_future_qot_right: Option<i32>美股CBOE期货行情权限, Qot_Common.QotRight
sh_qot_right: Option<i32>上海A股行情权限, Qot_Common.QotRight
sz_qot_right: Option<i32>深圳A股行情权限, Qot_Common.QotRight
Implementations§
Source§impl QotRight
impl QotRight
Sourcepub fn hk_option_qot_right(&self) -> i32
pub fn hk_option_qot_right(&self) -> i32
Returns the value of hk_option_qot_right, or the default value if hk_option_qot_right is unset.
Sourcepub fn has_us_option_qot_right(&self) -> bool
pub fn has_us_option_qot_right(&self) -> bool
Returns the value of has_us_option_qot_right, or the default value if has_us_option_qot_right is unset.
Sourcepub fn hk_future_qot_right(&self) -> i32
pub fn hk_future_qot_right(&self) -> i32
Returns the value of hk_future_qot_right, or the default value if hk_future_qot_right is unset.
Sourcepub fn us_future_qot_right(&self) -> i32
pub fn us_future_qot_right(&self) -> i32
Returns the value of us_future_qot_right, or the default value if us_future_qot_right is unset.
Sourcepub fn us_option_qot_right(&self) -> i32
pub fn us_option_qot_right(&self) -> i32
Returns the value of us_option_qot_right, or the default value if us_option_qot_right is unset.
Sourcepub fn us_index_qot_right(&self) -> i32
pub fn us_index_qot_right(&self) -> i32
Returns the value of us_index_qot_right, or the default value if us_index_qot_right is unset.
Sourcepub fn us_otc_qot_right(&self) -> i32
pub fn us_otc_qot_right(&self) -> i32
Returns the value of us_otc_qot_right, or the default value if us_otc_qot_right is unset.
Sourcepub fn sg_future_qot_right(&self) -> i32
pub fn sg_future_qot_right(&self) -> i32
Returns the value of sg_future_qot_right, or the default value if sg_future_qot_right is unset.
Sourcepub fn jp_future_qot_right(&self) -> i32
pub fn jp_future_qot_right(&self) -> i32
Returns the value of jp_future_qot_right, or the default value if jp_future_qot_right is unset.
Sourcepub fn us_cme_future_qot_right(&self) -> i32
pub fn us_cme_future_qot_right(&self) -> i32
Returns the value of us_cme_future_qot_right, or the default value if us_cme_future_qot_right is unset.
Sourcepub fn us_cbot_future_qot_right(&self) -> i32
pub fn us_cbot_future_qot_right(&self) -> i32
Returns the value of us_cbot_future_qot_right, or the default value if us_cbot_future_qot_right is unset.
Sourcepub fn us_nymex_future_qot_right(&self) -> i32
pub fn us_nymex_future_qot_right(&self) -> i32
Returns the value of us_nymex_future_qot_right, or the default value if us_nymex_future_qot_right is unset.
Sourcepub fn us_comex_future_qot_right(&self) -> i32
pub fn us_comex_future_qot_right(&self) -> i32
Returns the value of us_comex_future_qot_right, or the default value if us_comex_future_qot_right is unset.
Sourcepub fn us_cboe_future_qot_right(&self) -> i32
pub fn us_cboe_future_qot_right(&self) -> i32
Returns the value of us_cboe_future_qot_right, or the default value if us_cboe_future_qot_right is unset.
Sourcepub fn sh_qot_right(&self) -> i32
pub fn sh_qot_right(&self) -> i32
Returns the value of sh_qot_right, or the default value if sh_qot_right is unset.
Sourcepub fn sz_qot_right(&self) -> i32
pub fn sz_qot_right(&self) -> i32
Returns the value of sz_qot_right, or the default value if sz_qot_right is unset.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QotRight
impl<'de> Deserialize<'de> for QotRight
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Message for QotRight
impl Message for QotRight
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.