pub struct IpoTimeInfo {
pub approval_timestamp: Option<i64>,
pub issue_confirm_timestamp: Option<i64>,
pub price_confirm_time_range: Option<TimeRange>,
pub inquiry_time_range: Option<TimeRange>,
pub apply_time_range: Option<TimeRange>,
pub draw_timestamp: Option<i64>,
pub lucky_timestamp: Option<i64>,
pub ipo_timestamp: Option<i64>,
}Fields§
§approval_timestamp: Option<i64>获批上市时间
issue_confirm_timestamp: Option<i64>发行条件确定时间
price_confirm_time_range: Option<TimeRange>发行价确定时间
inquiry_time_range: Option<TimeRange>询价期
apply_time_range: Option<TimeRange>申购期
draw_timestamp: Option<i64>抽签时间
lucky_timestamp: Option<i64>中签公布时间
ipo_timestamp: Option<i64>上市时间
Implementations§
Source§impl IpoTimeInfo
impl IpoTimeInfo
Sourcepub fn approval_timestamp(&self) -> i64
pub fn approval_timestamp(&self) -> i64
Returns the value of approval_timestamp, or the default value if approval_timestamp is unset.
Sourcepub fn issue_confirm_timestamp(&self) -> i64
pub fn issue_confirm_timestamp(&self) -> i64
Returns the value of issue_confirm_timestamp, or the default value if issue_confirm_timestamp is unset.
Sourcepub fn draw_timestamp(&self) -> i64
pub fn draw_timestamp(&self) -> i64
Returns the value of draw_timestamp, or the default value if draw_timestamp is unset.
Sourcepub fn lucky_timestamp(&self) -> i64
pub fn lucky_timestamp(&self) -> i64
Returns the value of lucky_timestamp, or the default value if lucky_timestamp is unset.
Sourcepub fn ipo_timestamp(&self) -> i64
pub fn ipo_timestamp(&self) -> i64
Returns the value of ipo_timestamp, or the default value if ipo_timestamp is unset.
Trait Implementations§
Source§impl Clone for IpoTimeInfo
impl Clone for IpoTimeInfo
Source§fn clone(&self) -> IpoTimeInfo
fn clone(&self) -> IpoTimeInfo
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 IpoTimeInfo
impl Debug for IpoTimeInfo
Source§impl Default for IpoTimeInfo
impl Default for IpoTimeInfo
Source§impl Hash for IpoTimeInfo
impl Hash for IpoTimeInfo
Source§impl Message for IpoTimeInfo
impl Message for IpoTimeInfo
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 IpoTimeInfo
impl PartialEq for IpoTimeInfo
impl Copy for IpoTimeInfo
impl Eq for IpoTimeInfo
impl StructuralPartialEq for IpoTimeInfo
Auto Trait Implementations§
impl Freeze for IpoTimeInfo
impl RefUnwindSafe for IpoTimeInfo
impl Send for IpoTimeInfo
impl Sync for IpoTimeInfo
impl Unpin for IpoTimeInfo
impl UnsafeUnpin for IpoTimeInfo
impl UnwindSafe for IpoTimeInfo
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.