pub struct GetStockTickerStatisticDetailReq {
pub stock_id: Option<u64>,
pub ticker_type: Option<i32>,
pub ticker_time: Option<u64>,
pub select_num: Option<u32>,
pub data_from: Option<u32>,
pub data_max_count: Option<u32>,
pub stat_type: Option<u32>,
}Expand description
//////////////////////////////////////////////////////////////////////////////////////////////// 命令号:6366 功 能:获取统计数据详细信息 备 注:
Fields§
§stock_id: Option<u64>股票内部id
ticker_type: Option<i32>逐笔类型
ticker_time: Option<u64>逐笔统计时间(时间戳)
select_num: Option<u32>筛选类型 0:全部 其他:top N 最大暂定top 100
data_from: Option<u32>数据起始项 默认 0
data_max_count: Option<u32>数据返回最大数 默认20
stat_type: Option<u32>市场状态信息 MarketStatType
Implementations§
Source§impl GetStockTickerStatisticDetailReq
impl GetStockTickerStatisticDetailReq
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 ticker_type(&self) -> TickerType
pub fn ticker_type(&self) -> TickerType
Returns the enum value of ticker_type, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_ticker_type(&mut self, value: TickerType)
pub fn set_ticker_type(&mut self, value: TickerType)
Sets ticker_type to the provided enum value.
Sourcepub fn ticker_time(&self) -> u64
pub fn ticker_time(&self) -> u64
Returns the value of ticker_time, or the default value if ticker_time is unset.
Sourcepub fn select_num(&self) -> u32
pub fn select_num(&self) -> u32
Returns the value of select_num, or the default value if select_num is unset.
Sourcepub fn data_from(&self) -> u32
pub fn data_from(&self) -> u32
Returns the value of data_from, or the default value if data_from is unset.
Sourcepub fn data_max_count(&self) -> u32
pub fn data_max_count(&self) -> u32
Returns the value of data_max_count, or the default value if data_max_count is unset.
Trait Implementations§
Source§impl Clone for GetStockTickerStatisticDetailReq
impl Clone for GetStockTickerStatisticDetailReq
Source§fn clone(&self) -> GetStockTickerStatisticDetailReq
fn clone(&self) -> GetStockTickerStatisticDetailReq
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Message for GetStockTickerStatisticDetailReq
impl Message for GetStockTickerStatisticDetailReq
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 GetStockTickerStatisticDetailReq
impl PartialEq for GetStockTickerStatisticDetailReq
Source§fn eq(&self, other: &GetStockTickerStatisticDetailReq) -> bool
fn eq(&self, other: &GetStockTickerStatisticDetailReq) -> bool
self and other values to be equal, and is used by ==.impl Copy for GetStockTickerStatisticDetailReq
impl Eq for GetStockTickerStatisticDetailReq
impl StructuralPartialEq for GetStockTickerStatisticDetailReq
Auto Trait Implementations§
impl Freeze for GetStockTickerStatisticDetailReq
impl RefUnwindSafe for GetStockTickerStatisticDetailReq
impl Send for GetStockTickerStatisticDetailReq
impl Sync for GetStockTickerStatisticDetailReq
impl Unpin for GetStockTickerStatisticDetailReq
impl UnsafeUnpin for GetStockTickerStatisticDetailReq
impl UnwindSafe for GetStockTickerStatisticDetailReq
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.