pub struct NewStrikeDateItem {
pub strike_date: Option<i64>,
pub symbol: Option<String>,
pub hp_multiplier: Option<u64>,
pub hp_contract_share_size: Option<u64>,
pub left_day: Option<i32>,
pub standard_type: Option<u32>,
pub expiration: Option<u32>,
pub suffix: Option<String>,
pub underlying_id: Option<u64>,
pub exercise_method_type: Option<i32>,
pub settlement_mode: Option<i32>,
}Fields§
§strike_date: Option<i64>§symbol: Option<String>§hp_multiplier: Option<u64>§left_day: Option<i32>§standard_type: Option<u32>§expiration: Option<u32>§suffix: Option<String>§underlying_id: Option<u64>§exercise_method_type: Option<i32>§settlement_mode: Option<i32>Implementations§
Source§impl NewStrikeDateItem
impl NewStrikeDateItem
Sourcepub fn strike_date(&self) -> i64
pub fn strike_date(&self) -> i64
Returns the value of strike_date, or the default value if strike_date is unset.
Sourcepub fn symbol(&self) -> &str
pub fn symbol(&self) -> &str
Returns the value of symbol, or the default value if symbol is unset.
Sourcepub fn hp_multiplier(&self) -> u64
pub fn hp_multiplier(&self) -> u64
Returns the value of hp_multiplier, or the default value if hp_multiplier is unset.
Returns the value of hp_contract_share_size, or the default value if hp_contract_share_size is unset.
Sourcepub fn left_day(&self) -> i32
pub fn left_day(&self) -> i32
Returns the value of left_day, or the default value if left_day is unset.
Sourcepub fn standard_type(&self) -> u32
pub fn standard_type(&self) -> u32
Returns the value of standard_type, or the default value if standard_type is unset.
Sourcepub fn expiration(&self) -> u32
pub fn expiration(&self) -> u32
Returns the value of expiration, or the default value if expiration is unset.
Sourcepub fn suffix(&self) -> &str
pub fn suffix(&self) -> &str
Returns the value of suffix, or the default value if suffix is unset.
Sourcepub fn underlying_id(&self) -> u64
pub fn underlying_id(&self) -> u64
Returns the value of underlying_id, or the default value if underlying_id is unset.
Sourcepub fn exercise_method_type(&self) -> i32
pub fn exercise_method_type(&self) -> i32
Returns the value of exercise_method_type, or the default value if exercise_method_type is unset.
Sourcepub fn settlement_mode(&self) -> i32
pub fn settlement_mode(&self) -> i32
Returns the value of settlement_mode, or the default value if settlement_mode is unset.
Trait Implementations§
Source§impl Clone for NewStrikeDateItem
impl Clone for NewStrikeDateItem
Source§fn clone(&self) -> NewStrikeDateItem
fn clone(&self) -> NewStrikeDateItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NewStrikeDateItem
impl Debug for NewStrikeDateItem
Source§impl Default for NewStrikeDateItem
impl Default for NewStrikeDateItem
Source§impl Hash for NewStrikeDateItem
impl Hash for NewStrikeDateItem
Source§impl Message for NewStrikeDateItem
impl Message for NewStrikeDateItem
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 NewStrikeDateItem
impl PartialEq for NewStrikeDateItem
impl Eq for NewStrikeDateItem
impl StructuralPartialEq for NewStrikeDateItem
Auto Trait Implementations§
impl Freeze for NewStrikeDateItem
impl RefUnwindSafe for NewStrikeDateItem
impl Send for NewStrikeDateItem
impl Sync for NewStrikeDateItem
impl Unpin for NewStrikeDateItem
impl UnsafeUnpin for NewStrikeDateItem
impl UnwindSafe for NewStrikeDateItem
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.