pub struct StrikeDateRsp {
pub ret: Option<u32>,
pub strike_date_list: Vec<u32>,
pub expiration_cycle: Vec<u32>,
pub left_day: Vec<i32>,
pub strike_dates: Vec<StrikeDateItem>,
}Fields§
§ret: Option<u32>§strike_date_list: Vec<u32>行权日列表。时间戳(与 expiration_cycle / left_day 一一对应)
expiration_cycle: Vec<u32>field 3-5: vol, next_req_interval, volumn (unused)
行权日对应的到期类型(ExpirationType)
left_day: Vec<i32>行权日对应的剩余天数
strike_dates: Vec<StrikeDateItem>结构化行权日列表(新版本)
Implementations§
Trait Implementations§
Source§impl Clone for StrikeDateRsp
impl Clone for StrikeDateRsp
Source§fn clone(&self) -> StrikeDateRsp
fn clone(&self) -> StrikeDateRsp
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 StrikeDateRsp
impl Debug for StrikeDateRsp
Source§impl Default for StrikeDateRsp
impl Default for StrikeDateRsp
Source§impl Message for StrikeDateRsp
impl Message for StrikeDateRsp
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 StrikeDateRsp
impl PartialEq for StrikeDateRsp
impl StructuralPartialEq for StrikeDateRsp
Auto Trait Implementations§
impl Freeze for StrikeDateRsp
impl RefUnwindSafe for StrikeDateRsp
impl Send for StrikeDateRsp
impl Sync for StrikeDateRsp
impl Unpin for StrikeDateRsp
impl UnsafeUnpin for StrikeDateRsp
impl UnwindSafe for StrikeDateRsp
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