pub struct RetrieveRequest {
pub stock_ids: Vec<u64>,
pub basic_properties: Vec<PropertyBasic>,
pub simple_properties: Vec<PropertySimple>,
pub cumulative_properties: Vec<PropertyCumulative>,
pub financial_properties: Vec<PropertyFinancial>,
pub indicator_properties: Vec<PropertyIndicator>,
pub featured_properties: Vec<PropertyFeatured>,
pub broker_properties: Vec<PropertyBroker>,
pub option_properties: Vec<PropertyOption>,
pub kline_shape_properties: Vec<PropertyKlineShape>,
}Expand description
目前客户端先用9010设置过滤条件查询到相关股票id,再使用9011设置查询字段和股票id查询条件,查询股票的相关数据 CMD: 9011 设置查询字段,过滤条件为股票id,配合9010使用
Fields§
§stock_ids: Vec<u64>§basic_properties: Vec<PropertyBasic>§simple_properties: Vec<PropertySimple>§cumulative_properties: Vec<PropertyCumulative>§financial_properties: Vec<PropertyFinancial>§indicator_properties: Vec<PropertyIndicator>§featured_properties: Vec<PropertyFeatured>§broker_properties: Vec<PropertyBroker>§option_properties: Vec<PropertyOption>期权指标
kline_shape_properties: Vec<PropertyKlineShape>k线形态
Trait Implementations§
Source§impl Clone for RetrieveRequest
impl Clone for RetrieveRequest
Source§fn clone(&self) -> RetrieveRequest
fn clone(&self) -> RetrieveRequest
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 RetrieveRequest
impl Debug for RetrieveRequest
Source§impl Default for RetrieveRequest
impl Default for RetrieveRequest
Source§impl Message for RetrieveRequest
impl Message for RetrieveRequest
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 RetrieveRequest
impl PartialEq for RetrieveRequest
impl StructuralPartialEq for RetrieveRequest
Auto Trait Implementations§
impl Freeze for RetrieveRequest
impl RefUnwindSafe for RetrieveRequest
impl Send for RetrieveRequest
impl Sync for RetrieveRequest
impl Unpin for RetrieveRequest
impl UnsafeUnpin for RetrieveRequest
impl UnwindSafe for RetrieveRequest
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