pub struct PlacingResultDatailItem {
pub group_id: Option<i32>,
pub group_name: Option<String>,
pub xc: Option<i32>,
pub valid_apply_share: Option<i32>,
pub dis_share: Option<i32>,
pub apply_sub_ratio: Option<i32>,
}Expand description
配售结果详情项
Fields§
§group_id: Option<i32>组别id
group_name: Option<String>组别名称,“甲组”,“乙组”
xc: Option<i32>申购股数
申购人数
中签人数
apply_sub_ratio: Option<i32>中签率(单位为0.01%),倍率10000
Implementations§
Source§impl PlacingResultDatailItem
impl PlacingResultDatailItem
Sourcepub fn group_id(&self) -> i32
pub fn group_id(&self) -> i32
Returns the value of group_id, or the default value if group_id is unset.
Sourcepub fn group_name(&self) -> &str
pub fn group_name(&self) -> &str
Returns the value of group_name, or the default value if group_name is unset.
Returns the value of valid_apply_share, or the default value if valid_apply_share is unset.
Returns the value of dis_share, or the default value if dis_share is unset.
Sourcepub fn apply_sub_ratio(&self) -> i32
pub fn apply_sub_ratio(&self) -> i32
Returns the value of apply_sub_ratio, or the default value if apply_sub_ratio is unset.
Trait Implementations§
Source§impl Clone for PlacingResultDatailItem
impl Clone for PlacingResultDatailItem
Source§fn clone(&self) -> PlacingResultDatailItem
fn clone(&self) -> PlacingResultDatailItem
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 PlacingResultDatailItem
impl Debug for PlacingResultDatailItem
Source§impl Default for PlacingResultDatailItem
impl Default for PlacingResultDatailItem
Source§impl Hash for PlacingResultDatailItem
impl Hash for PlacingResultDatailItem
Source§impl Message for PlacingResultDatailItem
impl Message for PlacingResultDatailItem
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 PlacingResultDatailItem
impl PartialEq for PlacingResultDatailItem
impl Eq for PlacingResultDatailItem
impl StructuralPartialEq for PlacingResultDatailItem
Auto Trait Implementations§
impl Freeze for PlacingResultDatailItem
impl RefUnwindSafe for PlacingResultDatailItem
impl Send for PlacingResultDatailItem
impl Sync for PlacingResultDatailItem
impl Unpin for PlacingResultDatailItem
impl UnsafeUnpin for PlacingResultDatailItem
impl UnwindSafe for PlacingResultDatailItem
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
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
Checks if this value is equivalent to the given key. Read more
§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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
key and return true if they are equal.