pub struct BatchReplaceOrderItem {
pub order_id: Uuid,
pub price: Option<String>,
pub quantity: Option<String>,
pub use_master_balance: Option<bool>,
}Expand description
BatchReplaceOrderItem
JSON schema
{
"type": "object",
"required": [
"orderId"
],
"properties": {
"orderId": {
"description": "Order UUID to replace",
"examples": [
"123e4567-e89b-12d3-a456-426614174000"
],
"type": "string",
"format": "uuid"
},
"price": {
"description": "New limit price (if changing)",
"examples": [
"35500.00"
],
"type": [
"string",
"null"
]
},
"quantity": {
"description": "New quantity (if changing)",
"examples": [
"0.7"
],
"type": [
"string",
"null"
]
},
"useMasterBalance": {
"description": "Use master account balance for sub-account orders",
"examples": [
false
],
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
}Fields§
§order_id: UuidOrder UUID to replace
price: Option<String>New limit price (if changing)
quantity: Option<String>New quantity (if changing)
use_master_balance: Option<bool>Use master account balance for sub-account orders
Trait Implementations§
Source§impl Clone for BatchReplaceOrderItem
impl Clone for BatchReplaceOrderItem
Source§fn clone(&self) -> BatchReplaceOrderItem
fn clone(&self) -> BatchReplaceOrderItem
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 BatchReplaceOrderItem
impl Debug for BatchReplaceOrderItem
Source§impl<'de> Deserialize<'de> for BatchReplaceOrderItem
impl<'de> Deserialize<'de> for BatchReplaceOrderItem
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 BatchReplaceOrderItem
impl RefUnwindSafe for BatchReplaceOrderItem
impl Send for BatchReplaceOrderItem
impl Sync for BatchReplaceOrderItem
impl Unpin for BatchReplaceOrderItem
impl UnsafeUnpin for BatchReplaceOrderItem
impl UnwindSafe for BatchReplaceOrderItem
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