pub struct UsIpoListItem {
pub stock_id: Option<u64>,
pub stock_name: Option<String>,
pub code: Option<String>,
pub ipo_price_range: Option<String>,
pub shares: Option<String>,
pub expected_ipo_date: Option<String>,
pub ipo_price_low: Option<u32>,
pub ipo_price_high: Option<u32>,
pub ipo_date_timestamp: Option<u64>,
pub shares_num: Option<i64>,
}Fields§
§stock_id: Option<u64>股票内部ID
stock_name: Option<String>股票名称(简体)
code: Option<String>股票代码, 例如“AAPL“
ipo_price_range: Option<String>发行价区间, 例如“12.00~14.00“
发行量
expected_ipo_date: Option<String>预计上市日
ipo_price_low: Option<u32>发行价区间,下界,保留两位精度,即1234表示12.34
ipo_price_high: Option<u32>发行价区间,上界,保留两位精度,即1234表示12.34
ipo_date_timestamp: Option<u64>预计上市日, 时间戳
发行量,数值格式
Implementations§
Source§impl UsIpoListItem
impl UsIpoListItem
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 stock_name(&self) -> &str
pub fn stock_name(&self) -> &str
Returns the value of stock_name, or the default value if stock_name is unset.
Sourcepub fn ipo_price_range(&self) -> &str
pub fn ipo_price_range(&self) -> &str
Returns the value of ipo_price_range, or the default value if ipo_price_range is unset.
Returns the value of shares, or the default value if shares is unset.
Sourcepub fn expected_ipo_date(&self) -> &str
pub fn expected_ipo_date(&self) -> &str
Returns the value of expected_ipo_date, or the default value if expected_ipo_date is unset.
Sourcepub fn ipo_price_low(&self) -> u32
pub fn ipo_price_low(&self) -> u32
Returns the value of ipo_price_low, or the default value if ipo_price_low is unset.
Sourcepub fn ipo_price_high(&self) -> u32
pub fn ipo_price_high(&self) -> u32
Returns the value of ipo_price_high, or the default value if ipo_price_high is unset.
Sourcepub fn ipo_date_timestamp(&self) -> u64
pub fn ipo_date_timestamp(&self) -> u64
Returns the value of ipo_date_timestamp, or the default value if ipo_date_timestamp is unset.
Returns the value of shares_num, or the default value if shares_num is unset.
Trait Implementations§
Source§impl Clone for UsIpoListItem
impl Clone for UsIpoListItem
Source§fn clone(&self) -> UsIpoListItem
fn clone(&self) -> UsIpoListItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UsIpoListItem
impl Debug for UsIpoListItem
Source§impl Default for UsIpoListItem
impl Default for UsIpoListItem
Source§impl Hash for UsIpoListItem
impl Hash for UsIpoListItem
Source§impl Message for UsIpoListItem
impl Message for UsIpoListItem
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 UsIpoListItem
impl PartialEq for UsIpoListItem
impl Eq for UsIpoListItem
impl StructuralPartialEq for UsIpoListItem
Auto Trait Implementations§
impl Freeze for UsIpoListItem
impl RefUnwindSafe for UsIpoListItem
impl Send for UsIpoListItem
impl Sync for UsIpoListItem
impl Unpin for UsIpoListItem
impl UnsafeUnpin for UsIpoListItem
impl UnwindSafe for UsIpoListItem
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.