pub struct CnApplyMessage {
pub apply_code: Option<String>,
pub ipo_price: Option<String>,
pub is_ipo_price_preview: Option<u32>,
pub online_publish_shares: Option<String>,
pub apply_limit: Option<String>,
pub is_apply_limit_preview: Option<u32>,
pub online_publish_shares_num: Option<i64>,
pub apply_limit_num: Option<i64>,
}Expand description
A股申购信息
Fields§
§apply_code: Option<String>申购代码
ipo_price: Option<String>发行价
is_ipo_price_preview: Option<u32>发行价是否预估
网上发行量
apply_limit: Option<String>申购上限
is_apply_limit_preview: Option<u32>申购上限是否预估值
网上发行量,数值格式
apply_limit_num: Option<i64>申购上限,数值格式
Implementations§
Source§impl CnApplyMessage
impl CnApplyMessage
Sourcepub fn apply_code(&self) -> &str
pub fn apply_code(&self) -> &str
Returns the value of apply_code, or the default value if apply_code is unset.
Sourcepub fn ipo_price(&self) -> &str
pub fn ipo_price(&self) -> &str
Returns the value of ipo_price, or the default value if ipo_price is unset.
Sourcepub fn is_ipo_price_preview(&self) -> u32
pub fn is_ipo_price_preview(&self) -> u32
Returns the value of is_ipo_price_preview, or the default value if is_ipo_price_preview is unset.
Returns the value of online_publish_shares, or the default value if online_publish_shares is unset.
Sourcepub fn apply_limit(&self) -> &str
pub fn apply_limit(&self) -> &str
Returns the value of apply_limit, or the default value if apply_limit is unset.
Sourcepub fn is_apply_limit_preview(&self) -> u32
pub fn is_apply_limit_preview(&self) -> u32
Returns the value of is_apply_limit_preview, or the default value if is_apply_limit_preview is unset.
Returns the value of online_publish_shares_num, or the default value if online_publish_shares_num is unset.
Sourcepub fn apply_limit_num(&self) -> i64
pub fn apply_limit_num(&self) -> i64
Returns the value of apply_limit_num, or the default value if apply_limit_num is unset.
Trait Implementations§
Source§impl Clone for CnApplyMessage
impl Clone for CnApplyMessage
Source§fn clone(&self) -> CnApplyMessage
fn clone(&self) -> CnApplyMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CnApplyMessage
impl Debug for CnApplyMessage
Source§impl Default for CnApplyMessage
impl Default for CnApplyMessage
Source§impl Hash for CnApplyMessage
impl Hash for CnApplyMessage
Source§impl Message for CnApplyMessage
impl Message for CnApplyMessage
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 CnApplyMessage
impl PartialEq for CnApplyMessage
impl Eq for CnApplyMessage
impl StructuralPartialEq for CnApplyMessage
Auto Trait Implementations§
impl Freeze for CnApplyMessage
impl RefUnwindSafe for CnApplyMessage
impl Send for CnApplyMessage
impl Sync for CnApplyMessage
impl Unpin for CnApplyMessage
impl UnsafeUnpin for CnApplyMessage
impl UnwindSafe for CnApplyMessage
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.