pub struct OptionImpvolAnalysisReq {
pub query_time_period: Option<i32>,
pub option_stock_id: Option<u64>,
pub index_option_type: Option<i32>,
pub hv_time_period: Option<i32>,
}Fields§
§query_time_period: Option<i32>§option_stock_id: Option<u64>§index_option_type: Option<i32>§hv_time_period: Option<i32>Implementations§
Source§impl OptionImpvolAnalysisReq
impl OptionImpvolAnalysisReq
Sourcepub fn query_time_period(&self) -> i32
pub fn query_time_period(&self) -> i32
Returns the value of query_time_period, or the default value if query_time_period is unset.
Sourcepub fn option_stock_id(&self) -> u64
pub fn option_stock_id(&self) -> u64
Returns the value of option_stock_id, or the default value if option_stock_id is unset.
Sourcepub fn index_option_type(&self) -> i32
pub fn index_option_type(&self) -> i32
Returns the value of index_option_type, or the default value if index_option_type is unset.
Sourcepub fn hv_time_period(&self) -> i32
pub fn hv_time_period(&self) -> i32
Returns the value of hv_time_period, or the default value if hv_time_period is unset.
Trait Implementations§
Source§impl Clone for OptionImpvolAnalysisReq
impl Clone for OptionImpvolAnalysisReq
Source§fn clone(&self) -> OptionImpvolAnalysisReq
fn clone(&self) -> OptionImpvolAnalysisReq
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 OptionImpvolAnalysisReq
impl Debug for OptionImpvolAnalysisReq
Source§impl Default for OptionImpvolAnalysisReq
impl Default for OptionImpvolAnalysisReq
Source§impl Hash for OptionImpvolAnalysisReq
impl Hash for OptionImpvolAnalysisReq
Source§impl Message for OptionImpvolAnalysisReq
impl Message for OptionImpvolAnalysisReq
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 OptionImpvolAnalysisReq
impl PartialEq for OptionImpvolAnalysisReq
impl Copy for OptionImpvolAnalysisReq
impl Eq for OptionImpvolAnalysisReq
impl StructuralPartialEq for OptionImpvolAnalysisReq
Auto Trait Implementations§
impl Freeze for OptionImpvolAnalysisReq
impl RefUnwindSafe for OptionImpvolAnalysisReq
impl Send for OptionImpvolAnalysisReq
impl Sync for OptionImpvolAnalysisReq
impl Unpin for OptionImpvolAnalysisReq
impl UnsafeUnpin for OptionImpvolAnalysisReq
impl UnwindSafe for OptionImpvolAnalysisReq
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.