pub struct AlgoOrderExecReport {
pub parent_order_id: Option<String>,
pub child_order_id: Option<String>,
pub qty: Option<String>,
pub price: Option<String>,
pub cumulative_qty: Option<String>,
pub average_price: Option<String>,
pub last_qty: Option<String>,
pub last_price: Option<String>,
pub execution_type: Option<u32>,
pub timestamp: Option<i64>,
}Fields§
§parent_order_id: Option<String>§child_order_id: Option<String>§qty: Option<String>§price: Option<String>§cumulative_qty: Option<String>§average_price: Option<String>§last_qty: Option<String>§last_price: Option<String>§execution_type: Option<u32>§timestamp: Option<i64>Implementations§
Source§impl AlgoOrderExecReport
impl AlgoOrderExecReport
Sourcepub fn parent_order_id(&self) -> &str
pub fn parent_order_id(&self) -> &str
Returns the value of parent_order_id, or the default value if parent_order_id is unset.
Sourcepub fn child_order_id(&self) -> &str
pub fn child_order_id(&self) -> &str
Returns the value of child_order_id, or the default value if child_order_id is unset.
Sourcepub fn price(&self) -> &str
pub fn price(&self) -> &str
Returns the value of price, or the default value if price is unset.
Sourcepub fn cumulative_qty(&self) -> &str
pub fn cumulative_qty(&self) -> &str
Returns the value of cumulative_qty, or the default value if cumulative_qty is unset.
Sourcepub fn average_price(&self) -> &str
pub fn average_price(&self) -> &str
Returns the value of average_price, or the default value if average_price is unset.
Sourcepub fn last_qty(&self) -> &str
pub fn last_qty(&self) -> &str
Returns the value of last_qty, or the default value if last_qty is unset.
Sourcepub fn last_price(&self) -> &str
pub fn last_price(&self) -> &str
Returns the value of last_price, or the default value if last_price is unset.
Sourcepub fn execution_type(&self) -> u32
pub fn execution_type(&self) -> u32
Returns the value of execution_type, or the default value if execution_type is unset.
Trait Implementations§
Source§impl Clone for AlgoOrderExecReport
impl Clone for AlgoOrderExecReport
Source§fn clone(&self) -> AlgoOrderExecReport
fn clone(&self) -> AlgoOrderExecReport
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 AlgoOrderExecReport
impl Debug for AlgoOrderExecReport
Source§impl Default for AlgoOrderExecReport
impl Default for AlgoOrderExecReport
Source§impl<'de> Deserialize<'de> for AlgoOrderExecReportwhere
AlgoOrderExecReport: Default,
impl<'de> Deserialize<'de> for AlgoOrderExecReportwhere
AlgoOrderExecReport: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AlgoOrderExecReport
Source§impl Hash for AlgoOrderExecReport
impl Hash for AlgoOrderExecReport
Source§impl Message for AlgoOrderExecReport
impl Message for AlgoOrderExecReport
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 AlgoOrderExecReport
impl PartialEq for AlgoOrderExecReport
Source§fn eq(&self, other: &AlgoOrderExecReport) -> bool
fn eq(&self, other: &AlgoOrderExecReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AlgoOrderExecReport
impl Serialize for AlgoOrderExecReport
impl StructuralPartialEq for AlgoOrderExecReport
Auto Trait Implementations§
impl Freeze for AlgoOrderExecReport
impl RefUnwindSafe for AlgoOrderExecReport
impl Send for AlgoOrderExecReport
impl Sync for AlgoOrderExecReport
impl Unpin for AlgoOrderExecReport
impl UnsafeUnpin for AlgoOrderExecReport
impl UnwindSafe for AlgoOrderExecReport
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