pub struct UnderlyingAggregationReq {
pub strategy: Option<ScreenStrategy>,
pub strategy_param: Option<StrategyExtraParam>,
pub field_filter: Option<UnderlyingStatisticInfo>,
pub sort_obj: Option<SortObj>,
pub begin_index: Option<i32>,
pub count: Option<i32>,
}Fields§
§strategy: Option<ScreenStrategy>筛选策略
strategy_param: Option<StrategyExtraParam>策略附加参数,note: 如果用户既未选择自选股,也未选择选股器策略,该字段不传
field_filter: Option<UnderlyingStatisticInfo>允许请求方指定需要的标的指标字段
sort_obj: Option<SortObj>排序方式(若不传该字段,按成交量降序)
begin_index: Option<i32>分页起始位置
count: Option<i32>分页数量, 最大值为8000. 不允许传0(如果是仅查询期权总数,请使用0x1接口)
Implementations§
Trait Implementations§
Source§impl Clone for UnderlyingAggregationReq
impl Clone for UnderlyingAggregationReq
Source§fn clone(&self) -> UnderlyingAggregationReq
fn clone(&self) -> UnderlyingAggregationReq
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 UnderlyingAggregationReq
impl Debug for UnderlyingAggregationReq
Source§impl Default for UnderlyingAggregationReq
impl Default for UnderlyingAggregationReq
Source§impl Message for UnderlyingAggregationReq
impl Message for UnderlyingAggregationReq
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for UnderlyingAggregationReq
impl PartialEq for UnderlyingAggregationReq
impl StructuralPartialEq for UnderlyingAggregationReq
Auto Trait Implementations§
impl Freeze for UnderlyingAggregationReq
impl RefUnwindSafe for UnderlyingAggregationReq
impl Send for UnderlyingAggregationReq
impl Sync for UnderlyingAggregationReq
impl Unpin for UnderlyingAggregationReq
impl UnsafeUnpin for UnderlyingAggregationReq
impl UnwindSafe for UnderlyingAggregationReq
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