pub struct ScreenAndRetrieveRequest {
pub screen_queries: Option<ScreenQueries>,
pub retrieve_properties: Option<RetrieveProperties>,
pub watchlist_stock_ids: Vec<u64>,
pub use_watchlist_stocks: Option<bool>,
pub sort: Option<Sort>,
pub data_from: Option<i32>,
pub data_max_count: Option<i32>,
}Expand description
客户端命令字:9456
Fields§
§screen_queries: Option<ScreenQueries>筛选查询过滤器(设置各个类型筛选条件过滤器)
retrieve_properties: Option<RetrieveProperties>获取属性设置(获取各个类型字段数据属性的设置)
watchlist_stock_ids: Vec<u64>自定义的股票名单列表
use_watchlist_stocks: Option<bool>使用自选股
sort: Option<Sort>排序字段
data_from: Option<i32>数据偏移位,从0开始
data_max_count: Option<i32>当前要拉取的最大数据量(最大100)
Implementations§
Source§impl ScreenAndRetrieveRequest
impl ScreenAndRetrieveRequest
Sourcepub fn use_watchlist_stocks(&self) -> bool
pub fn use_watchlist_stocks(&self) -> bool
Returns the value of use_watchlist_stocks, or the default value if use_watchlist_stocks is unset.
Sourcepub fn data_from(&self) -> i32
pub fn data_from(&self) -> i32
Returns the value of data_from, or the default value if data_from is unset.
Sourcepub fn data_max_count(&self) -> i32
pub fn data_max_count(&self) -> i32
Returns the value of data_max_count, or the default value if data_max_count is unset.
Trait Implementations§
Source§impl Clone for ScreenAndRetrieveRequest
impl Clone for ScreenAndRetrieveRequest
Source§fn clone(&self) -> ScreenAndRetrieveRequest
fn clone(&self) -> ScreenAndRetrieveRequest
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 ScreenAndRetrieveRequest
impl Debug for ScreenAndRetrieveRequest
Source§impl Default for ScreenAndRetrieveRequest
impl Default for ScreenAndRetrieveRequest
Source§impl Message for ScreenAndRetrieveRequest
impl Message for ScreenAndRetrieveRequest
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 ScreenAndRetrieveRequest
impl PartialEq for ScreenAndRetrieveRequest
impl StructuralPartialEq for ScreenAndRetrieveRequest
Auto Trait Implementations§
impl Freeze for ScreenAndRetrieveRequest
impl RefUnwindSafe for ScreenAndRetrieveRequest
impl Send for ScreenAndRetrieveRequest
impl Sync for ScreenAndRetrieveRequest
impl Unpin for ScreenAndRetrieveRequest
impl UnsafeUnpin for ScreenAndRetrieveRequest
impl UnwindSafe for ScreenAndRetrieveRequest
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