pub struct ExecutionFilter {
pub client_id: Option<i32>,
pub acct_code: Option<String>,
pub time: Option<String>,
pub symbol: Option<String>,
pub sec_type: Option<String>,
pub exchange: Option<String>,
pub side: Option<String>,
pub last_n_days: Option<i32>,
pub specific_dates: Vec<i32>,
}Fields§
§client_id: Option<i32>§acct_code: Option<String>§time: Option<String>§symbol: Option<String>§sec_type: Option<String>§exchange: Option<String>§side: Option<String>§last_n_days: Option<i32>§specific_dates: Vec<i32>Implementations§
Source§impl ExecutionFilter
impl ExecutionFilter
Sourcepub fn client_id(&self) -> i32
pub fn client_id(&self) -> i32
Returns the value of client_id, or the default value if client_id is unset.
Sourcepub fn acct_code(&self) -> &str
pub fn acct_code(&self) -> &str
Returns the value of acct_code, or the default value if acct_code 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 sec_type(&self) -> &str
pub fn sec_type(&self) -> &str
Returns the value of sec_type, or the default value if sec_type is unset.
Sourcepub fn exchange(&self) -> &str
pub fn exchange(&self) -> &str
Returns the value of exchange, or the default value if exchange is unset.
Sourcepub fn last_n_days(&self) -> i32
pub fn last_n_days(&self) -> i32
Returns the value of last_n_days, or the default value if last_n_days is unset.
Trait Implementations§
Source§impl Clone for ExecutionFilter
impl Clone for ExecutionFilter
Source§fn clone(&self) -> ExecutionFilter
fn clone(&self) -> ExecutionFilter
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 ExecutionFilter
impl Debug for ExecutionFilter
Source§impl Default for ExecutionFilter
impl Default for ExecutionFilter
impl Eq for ExecutionFilter
Source§impl Hash for ExecutionFilter
impl Hash for ExecutionFilter
Source§impl Message for ExecutionFilter
impl Message for ExecutionFilter
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 ExecutionFilter
impl PartialEq for ExecutionFilter
impl StructuralPartialEq for ExecutionFilter
Auto Trait Implementations§
impl Freeze for ExecutionFilter
impl RefUnwindSafe for ExecutionFilter
impl Send for ExecutionFilter
impl Sync for ExecutionFilter
impl Unpin for ExecutionFilter
impl UnsafeUnpin for ExecutionFilter
impl UnwindSafe for ExecutionFilter
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