pub struct IpoCommonInfo {
pub offer_price_low: Option<i64>,
pub offer_price_high: Option<i64>,
pub offering_shares: Option<i64>,
pub issued_shares: Option<i64>,
pub industry: Option<String>,
pub market_segment: Option<String>,
}Fields§
§offer_price_low: Option<i64>招股价下界(原始价格*1000)
offer_price_high: Option<i64>招股价上界(原始价格*1000)
公开发行量
已发行股本
industry: Option<String>行业板块
market_segment: Option<String>细分市场
Implementations§
Source§impl IpoCommonInfo
impl IpoCommonInfo
Sourcepub fn offer_price_low(&self) -> i64
pub fn offer_price_low(&self) -> i64
Returns the value of offer_price_low, or the default value if offer_price_low is unset.
Sourcepub fn offer_price_high(&self) -> i64
pub fn offer_price_high(&self) -> i64
Returns the value of offer_price_high, or the default value if offer_price_high is unset.
Returns the value of offering_shares, or the default value if offering_shares is unset.
Returns the value of issued_shares, or the default value if issued_shares is unset.
Sourcepub fn industry(&self) -> &str
pub fn industry(&self) -> &str
Returns the value of industry, or the default value if industry is unset.
Sourcepub fn market_segment(&self) -> &str
pub fn market_segment(&self) -> &str
Returns the value of market_segment, or the default value if market_segment is unset.
Trait Implementations§
Source§impl Clone for IpoCommonInfo
impl Clone for IpoCommonInfo
Source§fn clone(&self) -> IpoCommonInfo
fn clone(&self) -> IpoCommonInfo
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 IpoCommonInfo
impl Debug for IpoCommonInfo
Source§impl Default for IpoCommonInfo
impl Default for IpoCommonInfo
Source§impl Hash for IpoCommonInfo
impl Hash for IpoCommonInfo
Source§impl Message for IpoCommonInfo
impl Message for IpoCommonInfo
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 IpoCommonInfo
impl PartialEq for IpoCommonInfo
impl Eq for IpoCommonInfo
impl StructuralPartialEq for IpoCommonInfo
Auto Trait Implementations§
impl Freeze for IpoCommonInfo
impl RefUnwindSafe for IpoCommonInfo
impl Send for IpoCommonInfo
impl Sync for IpoCommonInfo
impl Unpin for IpoCommonInfo
impl UnsafeUnpin for IpoCommonInfo
impl UnwindSafe for IpoCommonInfo
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.