pub struct ApplicationOrder {Show 16 fields
pub average_fill_price: Option<String>,
pub created_at: Option<String>,
pub filled_quantity: Option<String>,
pub filled_quantity_raw: Option<String>,
pub id: Option<Uuid>,
pub order_type: Option<String>,
pub price: Option<String>,
pub quantity: Option<String>,
pub quantity_raw: Option<String>,
pub side: Option<String>,
pub status: Option<String>,
pub time_in_force: Option<String>,
pub trading_mode: Option<String>,
pub trading_pair_id: Option<Uuid>,
pub updated_at: Option<String>,
pub user_id: Option<Uuid>,
}Expand description
ApplicationOrder
JSON schema
{
"type": "object",
"properties": {
"average_fill_price": {
"description": "Volume-weighted average fill price",
"examples": [
"35050.00"
],
"type": [
"string",
"null"
]
},
"created_at": {
"description": "Order creation timestamp (ISO 8601)",
"examples": [
"2023-11-13T10:30:00Z"
],
"type": [
"string",
"null"
]
},
"filled_quantity": {
"description": "Filled quantity (normalized for display)",
"examples": [
"0.2"
],
"type": [
"string",
"null"
]
},
"filled_quantity_raw": {
"description": "Filled quantity in raw format",
"examples": [
"200000000"
],
"type": [
"string",
"null"
]
},
"id": {
"description": "Order UUID",
"examples": [
"123e4567-e89b-12d3-a456-426614174000"
],
"type": [
"string",
"null"
],
"format": "uuid"
},
"order_type": {
"description": "Order type: LIMIT, MARKET, STOP_LOSS, TAKE_PROFIT, STOP_LIMIT, or TRAILING_STOP",
"examples": [
"LIMIT"
],
"type": [
"string",
"null"
]
},
"price": {
"description": "Order price (null for market orders)",
"examples": [
"35000.00"
],
"type": [
"string",
"null"
]
},
"quantity": {
"description": "Order quantity (normalized for display)",
"examples": [
"0.5"
],
"type": [
"string",
"null"
]
},
"quantity_raw": {
"description": "Order quantity in raw format (for precision)",
"examples": [
"500000000"
],
"type": [
"string",
"null"
]
},
"side": {
"description": "Order side: BUY or SELL",
"examples": [
"BUY"
],
"type": [
"string",
"null"
]
},
"status": {
"description": "Order status",
"examples": [
"SUBMITTED"
],
"type": [
"string",
"null"
]
},
"time_in_force": {
"description": "Time in force: GTC, IOC, or FOK",
"examples": [
"GTC"
],
"type": [
"string",
"null"
]
},
"trading_mode": {
"description": "Trading mode: SPOT or MARGIN",
"examples": [
"SPOT"
],
"type": [
"string",
"null"
]
},
"trading_pair_id": {
"description": "Trading pair UUID",
"examples": [
"456e7890-e12b-12d3-a456-426614174000"
],
"type": [
"string",
"null"
],
"format": "uuid"
},
"updated_at": {
"description": "Order last update timestamp (ISO 8601)",
"examples": [
"2023-11-13T10:35:00Z"
],
"type": [
"string",
"null"
]
},
"user_id": {
"description": "User UUID who placed the order",
"examples": [
"123e4567-e89b-12d3-a456-426614174000"
],
"type": [
"string",
"null"
],
"format": "uuid"
}
}
}Fields§
§average_fill_price: Option<String>Volume-weighted average fill price
created_at: Option<String>Order creation timestamp (ISO 8601)
filled_quantity: Option<String>Filled quantity (normalized for display)
filled_quantity_raw: Option<String>Filled quantity in raw format
id: Option<Uuid>Order UUID
order_type: Option<String>Order type: LIMIT, MARKET, STOP_LOSS, TAKE_PROFIT, STOP_LIMIT, or TRAILING_STOP
price: Option<String>Order price (null for market orders)
quantity: Option<String>Order quantity (normalized for display)
quantity_raw: Option<String>Order quantity in raw format (for precision)
side: Option<String>Order side: BUY or SELL
status: Option<String>Order status
time_in_force: Option<String>Time in force: GTC, IOC, or FOK
trading_mode: Option<String>Trading mode: SPOT or MARGIN
trading_pair_id: Option<Uuid>Trading pair UUID
updated_at: Option<String>Order last update timestamp (ISO 8601)
user_id: Option<Uuid>User UUID who placed the order
Trait Implementations§
Source§impl Clone for ApplicationOrder
impl Clone for ApplicationOrder
Source§fn clone(&self) -> ApplicationOrder
fn clone(&self) -> ApplicationOrder
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 ApplicationOrder
impl Debug for ApplicationOrder
Source§impl Default for ApplicationOrder
impl Default for ApplicationOrder
Source§impl<'de> Deserialize<'de> for ApplicationOrder
impl<'de> Deserialize<'de> for ApplicationOrder
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 ApplicationOrder
impl RefUnwindSafe for ApplicationOrder
impl Send for ApplicationOrder
impl Sync for ApplicationOrder
impl Unpin for ApplicationOrder
impl UnsafeUnpin for ApplicationOrder
impl UnwindSafe for ApplicationOrder
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