pub struct ExerciseOptionsRequest {
pub order_id: Option<i32>,
pub contract: Option<Contract>,
pub exercise_action: Option<i32>,
pub exercise_quantity: Option<i32>,
pub account: Option<String>,
pub override: Option<bool>,
pub manual_order_time: Option<String>,
pub customer_account: Option<String>,
pub professional_customer: Option<bool>,
}Fields§
§order_id: Option<i32>§contract: Option<Contract>§exercise_action: Option<i32>§exercise_quantity: Option<i32>§account: Option<String>§override: Option<bool>§manual_order_time: Option<String>§customer_account: Option<String>§professional_customer: Option<bool>Implementations§
Source§impl ExerciseOptionsRequest
impl ExerciseOptionsRequest
Sourcepub fn order_id(&self) -> i32
pub fn order_id(&self) -> i32
Returns the value of order_id, or the default value if order_id is unset.
Sourcepub fn exercise_action(&self) -> i32
pub fn exercise_action(&self) -> i32
Returns the value of exercise_action, or the default value if exercise_action is unset.
Sourcepub fn exercise_quantity(&self) -> i32
pub fn exercise_quantity(&self) -> i32
Returns the value of exercise_quantity, or the default value if exercise_quantity is unset.
Sourcepub fn account(&self) -> &str
pub fn account(&self) -> &str
Returns the value of account, or the default value if account is unset.
Sourcepub fn override(&self) -> bool
pub fn override(&self) -> bool
Returns the value of override, or the default value if override is unset.
Sourcepub fn manual_order_time(&self) -> &str
pub fn manual_order_time(&self) -> &str
Returns the value of manual_order_time, or the default value if manual_order_time is unset.
Sourcepub fn customer_account(&self) -> &str
pub fn customer_account(&self) -> &str
Returns the value of customer_account, or the default value if customer_account is unset.
Sourcepub fn professional_customer(&self) -> bool
pub fn professional_customer(&self) -> bool
Returns the value of professional_customer, or the default value if professional_customer is unset.
Trait Implementations§
Source§impl Clone for ExerciseOptionsRequest
impl Clone for ExerciseOptionsRequest
Source§fn clone(&self) -> ExerciseOptionsRequest
fn clone(&self) -> ExerciseOptionsRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExerciseOptionsRequest
impl Debug for ExerciseOptionsRequest
Source§impl Default for ExerciseOptionsRequest
impl Default for ExerciseOptionsRequest
Source§impl Message for ExerciseOptionsRequest
impl Message for ExerciseOptionsRequest
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 ExerciseOptionsRequest
impl PartialEq for ExerciseOptionsRequest
impl StructuralPartialEq for ExerciseOptionsRequest
Auto Trait Implementations§
impl Freeze for ExerciseOptionsRequest
impl RefUnwindSafe for ExerciseOptionsRequest
impl Send for ExerciseOptionsRequest
impl Sync for ExerciseOptionsRequest
impl Unpin for ExerciseOptionsRequest
impl UnsafeUnpin for ExerciseOptionsRequest
impl UnwindSafe for ExerciseOptionsRequest
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