pub struct StreamOrder {
pub order_id: Option<String>,
pub account_id: Option<String>,
pub symbol: Option<String>,
pub quantity: Option<String>,
pub order_type: Option<String>,
pub order_status: Option<String>,
pub filled_quantity: Option<String>,
pub status: Option<String>,
}Expand description
A streaming order status update.
Delivered via Client::stream_orders and Client::stream_orders_by_id.
Fields§
§order_id: Option<String>Order identifier.
account_id: Option<String>Account this order belongs to.
symbol: Option<String>Ticker symbol.
quantity: Option<String>Ordered quantity.
order_type: Option<String>Order type.
order_status: Option<String>Current order status.
filled_quantity: Option<String>Filled quantity.
status: Option<String>Stream status (present only for status messages).
Implementations§
Trait Implementations§
Source§impl Clone for StreamOrder
impl Clone for StreamOrder
Source§fn clone(&self) -> StreamOrder
fn clone(&self) -> StreamOrder
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 StreamOrder
impl Debug for StreamOrder
Source§impl<'de> Deserialize<'de> for StreamOrder
impl<'de> Deserialize<'de> for StreamOrder
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
Auto Trait Implementations§
impl Freeze for StreamOrder
impl RefUnwindSafe for StreamOrder
impl Send for StreamOrder
impl Sync for StreamOrder
impl Unpin for StreamOrder
impl UnsafeUnpin for StreamOrder
impl UnwindSafe for StreamOrder
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