pub struct TimeLine {Show 17 fields
pub apply_date: Option<String>,
pub apply_end_date: Option<String>,
pub lucky_date: Option<String>,
pub ipo_date: Option<String>,
pub margin_apply_end_date: Option<String>,
pub futu_apply_end_date: Option<String>,
pub apply_timestamp: Option<u32>,
pub apply_end_timestamp: Option<u32>,
pub lucky_timestamp: Option<u32>,
pub ipo_timestamp: Option<u32>,
pub margin_apply_end_timestamp: Option<u32>,
pub futu_apply_end_timestamp: Option<u32>,
pub futu_dark_trade_date: Option<String>,
pub futu_dark_trade_timestamp: Option<u32>,
pub dark_trade_period: Option<String>,
pub dark_trade_start_timestamp: Option<u32>,
pub dark_trade_end_timestamp: Option<u32>,
}Expand description
申购时间轴
Fields§
§apply_date: Option<String>可申购日期
apply_end_date: Option<String>截止认购日
lucky_date: Option<String>公布中签日
ipo_date: Option<String>上市日期
margin_apply_end_date: Option<String>富途融资认购截止日期,目前只对港股有效, 格式为“YYYY-MM-DD“, 如果后台暂无数据, 则不返回该字段
futu_apply_end_date: Option<String>富途认购截止日,与融资认购区分,目前只对港股有效, 格式为“YYYY-MM-DD“, 如果后台暂无数据, 则不返回该字段
apply_timestamp: Option<u32>以下均为时间戳。后台如果没有数据,则不返回相应的字段。 注意:目前只对港股有效
可申购时间戳
apply_end_timestamp: Option<u32>截止认购时间戳
lucky_timestamp: Option<u32>公布中签时间戳
ipo_timestamp: Option<u32>上市时间戳
margin_apply_end_timestamp: Option<u32>富途融资认购截止时间戳
futu_apply_end_timestamp: Option<u32>富途普通认购截止时间戳
futu_dark_trade_date: Option<String>暗盘交易日
futu_dark_trade_timestamp: Option<u32>暗盘交易时间戳
dark_trade_period: Option<String>暗盘交易时间段文案,如16:15~18:30。如果没有暗盘交易日数据,不返回该字段。
dark_trade_start_timestamp: Option<u32>暗盘交易时间段开始时刻的时间戳。如果没有暗盘交易日数据,不返回该字段。
dark_trade_end_timestamp: Option<u32>暗盘交易时间段结束时刻的时间戳。如果没有暗盘交易日数据,不返回该字段。
Implementations§
Source§impl TimeLine
impl TimeLine
Sourcepub fn apply_date(&self) -> &str
pub fn apply_date(&self) -> &str
Returns the value of apply_date, or the default value if apply_date is unset.
Sourcepub fn apply_end_date(&self) -> &str
pub fn apply_end_date(&self) -> &str
Returns the value of apply_end_date, or the default value if apply_end_date is unset.
Sourcepub fn lucky_date(&self) -> &str
pub fn lucky_date(&self) -> &str
Returns the value of lucky_date, or the default value if lucky_date is unset.
Sourcepub fn ipo_date(&self) -> &str
pub fn ipo_date(&self) -> &str
Returns the value of ipo_date, or the default value if ipo_date is unset.
Sourcepub fn futu_apply_end_date(&self) -> &str
pub fn futu_apply_end_date(&self) -> &str
Returns the value of futu_apply_end_date, or the default value if futu_apply_end_date is unset.
Sourcepub fn margin_apply_end_date(&self) -> &str
pub fn margin_apply_end_date(&self) -> &str
Returns the value of margin_apply_end_date, or the default value if margin_apply_end_date is unset.
Sourcepub fn apply_timestamp(&self) -> u32
pub fn apply_timestamp(&self) -> u32
Returns the value of apply_timestamp, or the default value if apply_timestamp is unset.
Sourcepub fn apply_end_timestamp(&self) -> u32
pub fn apply_end_timestamp(&self) -> u32
Returns the value of apply_end_timestamp, or the default value if 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 ipo_timestamp(&self) -> u32
pub fn ipo_timestamp(&self) -> u32
Returns the value of ipo_timestamp, or the default value if ipo_timestamp is unset.
Sourcepub fn margin_apply_end_timestamp(&self) -> u32
pub fn margin_apply_end_timestamp(&self) -> u32
Returns the value of margin_apply_end_timestamp, or the default value if margin_apply_end_timestamp is unset.
Sourcepub fn futu_apply_end_timestamp(&self) -> u32
pub fn futu_apply_end_timestamp(&self) -> u32
Returns the value of futu_apply_end_timestamp, or the default value if futu_apply_end_timestamp is unset.
Sourcepub fn futu_dark_trade_date(&self) -> &str
pub fn futu_dark_trade_date(&self) -> &str
Returns the value of futu_dark_trade_date, or the default value if futu_dark_trade_date is unset.
Sourcepub fn futu_dark_trade_timestamp(&self) -> u32
pub fn futu_dark_trade_timestamp(&self) -> u32
Returns the value of futu_dark_trade_timestamp, or the default value if futu_dark_trade_timestamp is unset.
Sourcepub fn dark_trade_period(&self) -> &str
pub fn dark_trade_period(&self) -> &str
Returns the value of dark_trade_period, or the default value if dark_trade_period is unset.
Sourcepub fn dark_trade_start_timestamp(&self) -> u32
pub fn dark_trade_start_timestamp(&self) -> u32
Returns the value of dark_trade_start_timestamp, or the default value if dark_trade_start_timestamp is unset.
Sourcepub fn dark_trade_end_timestamp(&self) -> u32
pub fn dark_trade_end_timestamp(&self) -> u32
Returns the value of dark_trade_end_timestamp, or the default value if dark_trade_end_timestamp is unset.
Trait Implementations§
Source§impl Message for TimeLine
impl Message for TimeLine
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.impl Eq for TimeLine
impl StructuralPartialEq for TimeLine
Auto Trait Implementations§
impl Freeze for TimeLine
impl RefUnwindSafe for TimeLine
impl Send for TimeLine
impl Sync for TimeLine
impl Unpin for TimeLine
impl UnsafeUnpin for TimeLine
impl UnwindSafe for TimeLine
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.