pub struct PlateElemDataReq {
pub plate_id: u64,
pub sort_type: i32,
pub sort_id: i32,
pub data_from: Option<i32>,
pub data_max_count: Option<i32>,
pub price_fliter_type: Option<u32>,
pub min_market_val: Option<u64>,
pub max_market_val: Option<u64>,
pub min_pe_val: Option<u32>,
pub max_pe_val: Option<u32>,
pub price_type: Option<u32>,
}Fields§
§plate_id: u64板块ID
sort_type: i32升降序 - Plate_Sort_Type
sort_id: i32排序列
data_from: Option<i32>数据起始项
data_max_count: Option<i32>数据返回最大数
price_fliter_type: Option<u32>§min_market_val: Option<u64>最小市值 * 1000 (不设下限时传0)
max_market_val: Option<u64>最大市值 * 1000 (最大18446744073709551615 不设上限时 可传这个值)
min_pe_val: Option<u32>最小市盈率 * 1000 (不设下限时传0)
max_pe_val: Option<u32>最大市盈率 * 1000 (最大4294967295 不设上限时 可传这个值)
price_type: Option<u32>price_types
Implementations§
Source§impl PlateElemDataReq
impl PlateElemDataReq
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.
Sourcepub fn price_fliter_type(&self) -> u32
pub fn price_fliter_type(&self) -> u32
Returns the value of price_fliter_type, or the default value if price_fliter_type is unset.
Sourcepub fn min_market_val(&self) -> u64
pub fn min_market_val(&self) -> u64
Returns the value of min_market_val, or the default value if min_market_val is unset.
Sourcepub fn max_market_val(&self) -> u64
pub fn max_market_val(&self) -> u64
Returns the value of max_market_val, or the default value if max_market_val is unset.
Sourcepub fn min_pe_val(&self) -> u32
pub fn min_pe_val(&self) -> u32
Returns the value of min_pe_val, or the default value if min_pe_val is unset.
Sourcepub fn max_pe_val(&self) -> u32
pub fn max_pe_val(&self) -> u32
Returns the value of max_pe_val, or the default value if max_pe_val is unset.
Sourcepub fn price_type(&self) -> u32
pub fn price_type(&self) -> u32
Returns the value of price_type, or the default value if price_type is unset.
Trait Implementations§
Source§impl Clone for PlateElemDataReq
impl Clone for PlateElemDataReq
Source§fn clone(&self) -> PlateElemDataReq
fn clone(&self) -> PlateElemDataReq
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PlateElemDataReq
impl Debug for PlateElemDataReq
Source§impl Default for PlateElemDataReq
impl Default for PlateElemDataReq
Source§impl Hash for PlateElemDataReq
impl Hash for PlateElemDataReq
Source§impl Message for PlateElemDataReq
impl Message for PlateElemDataReq
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 PlateElemDataReq
impl PartialEq for PlateElemDataReq
impl Copy for PlateElemDataReq
impl Eq for PlateElemDataReq
impl StructuralPartialEq for PlateElemDataReq
Auto Trait Implementations§
impl Freeze for PlateElemDataReq
impl RefUnwindSafe for PlateElemDataReq
impl Send for PlateElemDataReq
impl Sync for PlateElemDataReq
impl Unpin for PlateElemDataReq
impl UnsafeUnpin for PlateElemDataReq
impl UnwindSafe for PlateElemDataReq
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.