pub struct GetPlacingResultRsp {
pub result_code: Option<i32>,
pub msg: Option<String>,
pub apply_num: Option<i32>,
pub winning_num: Option<i32>,
pub one_lot_winning_rate: Option<i32>,
pub over_allot_appl_mul: Option<i32>,
pub head_ham_appl_sheet: Option<i32>,
pub detail_list: Vec<PlacingResultDatailItem>,
pub res_pdf_link: Option<String>,
pub win_ratio: Option<i32>,
pub win_ratio_msg: Option<String>,
}Fields§
§result_code: Option<i32>请求处理结果,0表示成功,非0表示失败
msg: Option<String>请求处理携带的消息
apply_num: Option<i32>申购人数
winning_num: Option<i32>中签总人数
one_lot_winning_rate: Option<i32>一手中签率, (单位:0.01%, 倍率10000)
over_allot_appl_mul: Option<i32>超购倍数,保留两位精度(单位:0.01 倍 倍率100)
head_ham_appl_sheet: Option<i32>顶头槌申购张数
detail_list: Vec<PlacingResultDatailItem>配售详情列表(按不同的申购数量分类)
res_pdf_link: Option<String>配售结果文件的链接
win_ratio: Option<i32>中签概率(%),2位精度 (单位:0.01%, 倍率10000)
win_ratio_msg: Option<String>描述,“申购N手稳获一手”
Implementations§
Source§impl GetPlacingResultRsp
impl GetPlacingResultRsp
Sourcepub fn result_code(&self) -> i32
pub fn result_code(&self) -> i32
Returns the value of result_code, or the default value if result_code is unset.
Sourcepub fn apply_num(&self) -> i32
pub fn apply_num(&self) -> i32
Returns the value of apply_num, or the default value if apply_num is unset.
Sourcepub fn winning_num(&self) -> i32
pub fn winning_num(&self) -> i32
Returns the value of winning_num, or the default value if winning_num is unset.
Sourcepub fn one_lot_winning_rate(&self) -> i32
pub fn one_lot_winning_rate(&self) -> i32
Returns the value of one_lot_winning_rate, or the default value if one_lot_winning_rate is unset.
Sourcepub fn over_allot_appl_mul(&self) -> i32
pub fn over_allot_appl_mul(&self) -> i32
Returns the value of over_allot_appl_mul, or the default value if over_allot_appl_mul is unset.
Sourcepub fn head_ham_appl_sheet(&self) -> i32
pub fn head_ham_appl_sheet(&self) -> i32
Returns the value of head_ham_appl_sheet, or the default value if head_ham_appl_sheet is unset.
Sourcepub fn res_pdf_link(&self) -> &str
pub fn res_pdf_link(&self) -> &str
Returns the value of res_pdf_link, or the default value if res_pdf_link is unset.
Sourcepub fn win_ratio(&self) -> i32
pub fn win_ratio(&self) -> i32
Returns the value of win_ratio, or the default value if win_ratio is unset.
Sourcepub fn win_ratio_msg(&self) -> &str
pub fn win_ratio_msg(&self) -> &str
Returns the value of win_ratio_msg, or the default value if win_ratio_msg is unset.
Trait Implementations§
Source§impl Clone for GetPlacingResultRsp
impl Clone for GetPlacingResultRsp
Source§fn clone(&self) -> GetPlacingResultRsp
fn clone(&self) -> GetPlacingResultRsp
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GetPlacingResultRsp
impl Debug for GetPlacingResultRsp
Source§impl Default for GetPlacingResultRsp
impl Default for GetPlacingResultRsp
Source§impl Message for GetPlacingResultRsp
impl Message for GetPlacingResultRsp
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.