pub struct UsIpoListItem {Show 23 fields
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>,
pub apply_limit: Option<u32>,
pub futu_apply_end_timestamp: Option<u64>,
pub lucky_timestamp: Option<u32>,
pub stock_status: Option<u32>,
pub user_apply_status: Option<u32>,
pub futu_apply_timestamp: Option<u64>,
pub offer_type: Option<i32>,
pub placing_apply_limit: Option<u32>,
pub placing_apply_timestamp: Option<u64>,
pub placing_apply_end_timestamp: Option<u64>,
pub placing_user_ability: Option<u32>,
pub placing_user_apply_status: Option<u32>,
pub broker_id: Option<i32>,
}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>预计上市日, 时间戳
发行量,数值格式
apply_limit: Option<u32>最低认购金额,单位为0.01
futu_apply_end_timestamp: Option<u64>截止认购时间戳
lucky_timestamp: Option<u32>预计公布中签时间戳
stock_status: Option<u32>新股状态
user_apply_status: Option<u32>用户认购状态
futu_apply_timestamp: Option<u64>开始认购时间戳
offer_type: Option<i32>新股发售类型
placing_apply_limit: Option<u32>国配最小认购金额
placing_apply_timestamp: Option<u64>国配开始认购时间戳
placing_apply_end_timestamp: Option<u64>国配截止认购时间戳
placing_user_ability: Option<u32>当前用户国配认购能力
placing_user_apply_status: Option<u32>用户国配认购状态
broker_id: Option<i32>券商id
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.
Sourcepub fn apply_limit(&self) -> u32
pub fn apply_limit(&self) -> u32
Returns the value of apply_limit, or the default value if apply_limit is unset.
Sourcepub fn futu_apply_end_timestamp(&self) -> u64
pub fn futu_apply_end_timestamp(&self) -> u64
Returns the value of futu_apply_end_timestamp, or the default value if futu_apply_end_timestamp is unset.
Sourcepub fn lucky_timestamp(&self) -> u32
pub fn lucky_timestamp(&self) -> u32
Returns the value of lucky_timestamp, or the default value if lucky_timestamp is unset.
Sourcepub fn stock_status(&self) -> u32
pub fn stock_status(&self) -> u32
Returns the value of stock_status, or the default value if stock_status is unset.
Sourcepub fn user_apply_status(&self) -> u32
pub fn user_apply_status(&self) -> u32
Returns the value of user_apply_status, or the default value if user_apply_status is unset.
Sourcepub fn futu_apply_timestamp(&self) -> u64
pub fn futu_apply_timestamp(&self) -> u64
Returns the value of futu_apply_timestamp, or the default value if futu_apply_timestamp is unset.
Sourcepub fn offer_type(&self) -> i32
pub fn offer_type(&self) -> i32
Returns the value of offer_type, or the default value if offer_type is unset.
Sourcepub fn placing_apply_limit(&self) -> u32
pub fn placing_apply_limit(&self) -> u32
Returns the value of placing_apply_limit, or the default value if placing_apply_limit is unset.
Sourcepub fn placing_apply_timestamp(&self) -> u64
pub fn placing_apply_timestamp(&self) -> u64
Returns the value of placing_apply_timestamp, or the default value if placing_apply_timestamp is unset.
Sourcepub fn placing_apply_end_timestamp(&self) -> u64
pub fn placing_apply_end_timestamp(&self) -> u64
Returns the value of placing_apply_end_timestamp, or the default value if placing_apply_end_timestamp is unset.
Sourcepub fn placing_user_ability(&self) -> u32
pub fn placing_user_ability(&self) -> u32
Returns the value of placing_user_ability, or the default value if placing_user_ability is unset.
Sourcepub fn placing_user_apply_status(&self) -> u32
pub fn placing_user_apply_status(&self) -> u32
Returns the value of placing_user_apply_status, or the default value if placing_user_apply_status 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.