pub struct FutureResultInfo {Show 19 fields
pub ret: Option<i32>,
pub symbol: Option<String>,
pub sc_name: Option<String>,
pub tc_name: Option<String>,
pub name: Option<String>,
pub last_trade_date: Option<i64>,
pub stock_id: Option<u64>,
pub instrument_type: Option<i32>,
pub market_code: Option<u32>,
pub lot_size: Option<u32>,
pub spread_table_code: Option<u32>,
pub sub_instrument_type: Option<i32>,
pub display_symbol: Option<String>,
pub no_search: Option<i32>,
pub code_item: Option<SrcCodeItem>,
pub instrument_type_v2: Option<i32>,
pub sub_instrument_type_v2: Option<i32>,
pub delisting_flag: Option<u32>,
pub listed_exchange: Option<String>,
}Expand description
Ref:
- o-src/FutuOpenD/Src/NNProtoFile/Server/PB/Quote/stock_information.proto:347-402
- o-src/moomoo/…/Proto/Quote/api_stock_information.proto:347-403
Fields§
§ret: Option<i32>§symbol: Option<String>§sc_name: Option<String>§tc_name: Option<String>§name: Option<String>§last_trade_date: Option<i64>§stock_id: Option<u64>§instrument_type: Option<i32>§market_code: Option<u32>§lot_size: Option<u32>§spread_table_code: Option<u32>§sub_instrument_type: Option<i32>§display_symbol: Option<String>§no_search: Option<i32>§code_item: Option<SrcCodeItem>§instrument_type_v2: Option<i32>§sub_instrument_type_v2: Option<i32>§delisting_flag: Option<u32>§listed_exchange: Option<String>Implementations§
Source§impl FutureResultInfo
impl FutureResultInfo
Sourcepub fn symbol(&self) -> &str
pub fn symbol(&self) -> &str
Returns the value of symbol, or the default value if symbol is unset.
Sourcepub fn sc_name(&self) -> &str
pub fn sc_name(&self) -> &str
Returns the value of sc_name, or the default value if sc_name is unset.
Sourcepub fn tc_name(&self) -> &str
pub fn tc_name(&self) -> &str
Returns the value of tc_name, or the default value if tc_name is unset.
Sourcepub fn last_trade_date(&self) -> i64
pub fn last_trade_date(&self) -> i64
Returns the value of last_trade_date, or the default value if last_trade_date is unset.
Sourcepub fn stock_id(&self) -> u64
pub fn stock_id(&self) -> u64
Returns the value of stock_id, or the default value if stock_id is unset.
Sourcepub fn instrument_type(&self) -> i32
pub fn instrument_type(&self) -> i32
Returns the value of instrument_type, or the default value if instrument_type is unset.
Sourcepub fn market_code(&self) -> u32
pub fn market_code(&self) -> u32
Returns the value of market_code, or the default value if market_code is unset.
Sourcepub fn lot_size(&self) -> u32
pub fn lot_size(&self) -> u32
Returns the value of lot_size, or the default value if lot_size is unset.
Sourcepub fn spread_table_code(&self) -> u32
pub fn spread_table_code(&self) -> u32
Returns the value of spread_table_code, or the default value if spread_table_code is unset.
Sourcepub fn sub_instrument_type(&self) -> i32
pub fn sub_instrument_type(&self) -> i32
Returns the value of sub_instrument_type, or the default value if sub_instrument_type is unset.
Sourcepub fn display_symbol(&self) -> &str
pub fn display_symbol(&self) -> &str
Returns the value of display_symbol, or the default value if display_symbol is unset.
Sourcepub fn no_search(&self) -> i32
pub fn no_search(&self) -> i32
Returns the value of no_search, or the default value if no_search is unset.
Sourcepub fn instrument_type_v2(&self) -> i32
pub fn instrument_type_v2(&self) -> i32
Returns the value of instrument_type_v2, or the default value if instrument_type_v2 is unset.
Sourcepub fn sub_instrument_type_v2(&self) -> i32
pub fn sub_instrument_type_v2(&self) -> i32
Returns the value of sub_instrument_type_v2, or the default value if sub_instrument_type_v2 is unset.
Sourcepub fn delisting_flag(&self) -> u32
pub fn delisting_flag(&self) -> u32
Returns the value of delisting_flag, or the default value if delisting_flag is unset.
Sourcepub fn listed_exchange(&self) -> &str
pub fn listed_exchange(&self) -> &str
Returns the value of listed_exchange, or the default value if listed_exchange is unset.
Trait Implementations§
Source§impl Clone for FutureResultInfo
impl Clone for FutureResultInfo
Source§fn clone(&self) -> FutureResultInfo
fn clone(&self) -> FutureResultInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FutureResultInfo
impl Debug for FutureResultInfo
Source§impl Default for FutureResultInfo
impl Default for FutureResultInfo
Source§impl Hash for FutureResultInfo
impl Hash for FutureResultInfo
Source§impl Message for FutureResultInfo
impl Message for FutureResultInfo
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 FutureResultInfo
impl PartialEq for FutureResultInfo
impl Eq for FutureResultInfo
impl StructuralPartialEq for FutureResultInfo
Auto Trait Implementations§
impl Freeze for FutureResultInfo
impl RefUnwindSafe for FutureResultInfo
impl Send for FutureResultInfo
impl Sync for FutureResultInfo
impl Unpin for FutureResultInfo
impl UnsafeUnpin for FutureResultInfo
impl UnwindSafe for FutureResultInfo
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.