pub struct IpoDetailRsp {Show 13 fields
pub market: Option<u32>,
pub code: Option<String>,
pub stock_id: Option<u64>,
pub cn_detail: Option<CnIpoDetail>,
pub hk_detail: Option<HkIpoDetail>,
pub us_detail: Option<UsIpoDetail>,
pub sg_detail: Option<SgIpoDetail>,
pub my_detail: Option<MyIpoItem>,
pub futu_apply_url: Option<String>,
pub broker_type: Option<i32>,
pub placing_broker_type: Option<i32>,
pub broker_id: Option<i32>,
pub placing_broker_id: Option<i32>,
}Fields§
§market: Option<u32>回传req中的market
code: Option<String>回传req中的code
stock_id: Option<u64>股票内部ID
cn_detail: Option<CnIpoDetail>A股IPO详情
hk_detail: Option<HkIpoDetail>港股IPO详情
us_detail: Option<UsIpoDetail>美股IPO详情
sg_detail: Option<SgIpoDetail>星股IPO详情
my_detail: Option<MyIpoItem>马股IPO详情
futu_apply_url: Option<String>富途内部认购url
broker_type: Option<i32>用户主推券商
placing_broker_type: Option<i32>用户国际配售主推券商
broker_id: Option<i32>券商id
placing_broker_id: Option<i32>用户国际配售主推券商
Implementations§
Source§impl IpoDetailRsp
impl IpoDetailRsp
Sourcepub fn market(&self) -> u32
pub fn market(&self) -> u32
Returns the value of market, or the default value if market is unset.
Sourcepub fn stock_id(&self) -> u64
pub fn stock_id(&self) -> u64
Returns the value of stock_id, or the default value if stock_id is unset.
Sourcepub fn futu_apply_url(&self) -> &str
pub fn futu_apply_url(&self) -> &str
Returns the value of futu_apply_url, or the default value if futu_apply_url is unset.
Sourcepub fn broker_type(&self) -> i32
pub fn broker_type(&self) -> i32
Returns the value of broker_type, or the default value if broker_type is unset.
Sourcepub fn placing_broker_type(&self) -> i32
pub fn placing_broker_type(&self) -> i32
Returns the value of placing_broker_type, or the default value if placing_broker_type is unset.
Sourcepub fn broker_id(&self) -> i32
pub fn broker_id(&self) -> i32
Returns the value of broker_id, or the default value if broker_id is unset.
Sourcepub fn placing_broker_id(&self) -> i32
pub fn placing_broker_id(&self) -> i32
Returns the value of placing_broker_id, or the default value if placing_broker_id is unset.
Trait Implementations§
Source§impl Clone for IpoDetailRsp
impl Clone for IpoDetailRsp
Source§fn clone(&self) -> IpoDetailRsp
fn clone(&self) -> IpoDetailRsp
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 IpoDetailRsp
impl Debug for IpoDetailRsp
Source§impl Default for IpoDetailRsp
impl Default for IpoDetailRsp
Source§impl Message for IpoDetailRsp
impl Message for IpoDetailRsp
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 IpoDetailRsp
impl PartialEq for IpoDetailRsp
impl StructuralPartialEq for IpoDetailRsp
Auto Trait Implementations§
impl Freeze for IpoDetailRsp
impl RefUnwindSafe for IpoDetailRsp
impl Send for IpoDetailRsp
impl Sync for IpoDetailRsp
impl Unpin for IpoDetailRsp
impl UnsafeUnpin for IpoDetailRsp
impl UnwindSafe for IpoDetailRsp
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