pub struct OrderStatusChange {
pub order_id: String,
pub status: String,
pub user_ref: Option<i64>,
pub last_updated: Option<OffsetDateTime>,
pub volume_executed: Option<Decimal>,
pub cost: Option<Decimal>,
pub fee: Option<Decimal>,
pub average_price: Option<Decimal>,
pub cancel_reason: Option<String>,
}
Expand description
Order status change containing the order’s id and changes to status, fees, or volume executed
Fields§
§order_id: String
§status: String
§user_ref: Option<i64>
§last_updated: Option<OffsetDateTime>
§volume_executed: Option<Decimal>
§cost: Option<Decimal>
§fee: Option<Decimal>
§average_price: Option<Decimal>
§cancel_reason: Option<String>
Trait Implementations§
Source§impl Debug for OrderStatusChange
impl Debug for OrderStatusChange
Source§impl<'de> Deserialize<'de> for OrderStatusChange
impl<'de> Deserialize<'de> for OrderStatusChange
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
Source§impl PartialEq for OrderStatusChange
impl PartialEq for OrderStatusChange
impl StructuralPartialEq for OrderStatusChange
Auto Trait Implementations§
impl Freeze for OrderStatusChange
impl RefUnwindSafe for OrderStatusChange
impl Send for OrderStatusChange
impl Sync for OrderStatusChange
impl Unpin for OrderStatusChange
impl UnwindSafe for OrderStatusChange
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