pub struct OrderUpdateOwned {
pub order_id: Option<SmartString>,
pub client_order_id: Option<SmartString>,
pub symbol: Option<SmartString>,
pub price: Option<Decimal>,
pub quantity: Option<Decimal>,
pub status: Option<SmartString>,
pub side: Option<SmartString>,
pub timestamp: Option<u64>,
}Expand description
Owned version of order update (only allocate when necessary)
Fields§
§order_id: Option<SmartString>The order ID.
client_order_id: Option<SmartString>The client order ID.
symbol: Option<SmartString>The trading symbol.
price: Option<Decimal>The order price.
quantity: Option<Decimal>The order quantity.
status: Option<SmartString>The order status.
side: Option<SmartString>The order side.
timestamp: Option<u64>The timestamp of the order.
Trait Implementations§
Source§impl Clone for OrderUpdateOwned
impl Clone for OrderUpdateOwned
Source§fn clone(&self) -> OrderUpdateOwned
fn clone(&self) -> OrderUpdateOwned
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OrderUpdateOwned
impl RefUnwindSafe for OrderUpdateOwned
impl Send for OrderUpdateOwned
impl Sync for OrderUpdateOwned
impl Unpin for OrderUpdateOwned
impl UnwindSafe for OrderUpdateOwned
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