pub struct OrderEvent {Show 19 fields
pub order_id: String,
pub market: String,
pub client_order_id: Option<String>,
pub created: Option<u64>,
pub updated: Option<u64>,
pub status: String,
pub side: Side,
pub order_type: Option<OrderType>,
pub amount: Option<String>,
pub amount_remaining: Option<String>,
pub amount_quote: Option<String>,
pub amount_quote_remaining: Option<String>,
pub price: Option<String>,
pub on_hold: Option<String>,
pub on_hold_currency: Option<String>,
pub time_in_force: Option<String>,
pub post_only: Option<bool>,
pub self_trade_prevention: Option<String>,
pub visible: Option<bool>,
}Expand description
Order update pushed on the account WebSocket channel.
Fields§
§order_id: String§market: String§client_order_id: Option<String>§created: Option<u64>§updated: Option<u64>§status: String§side: Side§order_type: Option<OrderType>§amount: Option<String>§amount_remaining: Option<String>§amount_quote: Option<String>§amount_quote_remaining: Option<String>§price: Option<String>§on_hold: Option<String>§on_hold_currency: Option<String>§time_in_force: Option<String>§post_only: Option<bool>§self_trade_prevention: Option<String>§visible: Option<bool>Trait Implementations§
Source§impl Clone for OrderEvent
impl Clone for OrderEvent
Source§impl Debug for OrderEvent
impl Debug for OrderEvent
Source§impl<'de> Deserialize<'de> for OrderEvent
impl<'de> Deserialize<'de> for OrderEvent
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 OrderEvent
impl RefUnwindSafe for OrderEvent
impl Send for OrderEvent
impl Sync for OrderEvent
impl Unpin for OrderEvent
impl UnsafeUnpin for OrderEvent
impl UnwindSafe for OrderEvent
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