pub struct BatchCloseAllResponse {
pub results: Option<Vec<BatchCloseResult>>,
pub total_closed: Option<i32>,
pub total_failed: Option<i32>,
pub total_requested: Option<i32>,
}Expand description
BatchCloseAllResponse
JSON schema
{
"type": "object",
"properties": {
"results": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/BatchCloseResult"
}
},
"totalClosed": {
"description": "Number of positions whose close order was accepted by the matching engine\n (SUCCESS, PARTIAL, or PENDING).",
"type": [
"integer",
"null"
],
"format": "int32"
},
"totalFailed": {
"description": "Number of positions whose close failed (validation, lookup, or a rejected\n close order).",
"type": [
"integer",
"null"
],
"format": "int32"
},
"totalRequested": {
"description": "Number of open positions the batch attempted to close.",
"type": [
"integer",
"null"
],
"format": "int32"
}
}
}Fields§
§results: Option<Vec<BatchCloseResult>>§total_closed: Option<i32>Number of positions whose close order was accepted by the matching engine (SUCCESS, PARTIAL, or PENDING).
total_failed: Option<i32>Number of positions whose close failed (validation, lookup, or a rejected close order).
total_requested: Option<i32>Number of open positions the batch attempted to close.
Trait Implementations§
Source§impl Clone for BatchCloseAllResponse
impl Clone for BatchCloseAllResponse
Source§fn clone(&self) -> BatchCloseAllResponse
fn clone(&self) -> BatchCloseAllResponse
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 BatchCloseAllResponse
impl Debug for BatchCloseAllResponse
Source§impl Default for BatchCloseAllResponse
impl Default for BatchCloseAllResponse
Source§impl<'de> Deserialize<'de> for BatchCloseAllResponse
impl<'de> Deserialize<'de> for BatchCloseAllResponse
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 BatchCloseAllResponse
impl RefUnwindSafe for BatchCloseAllResponse
impl Send for BatchCloseAllResponse
impl Sync for BatchCloseAllResponse
impl Unpin for BatchCloseAllResponse
impl UnsafeUnpin for BatchCloseAllResponse
impl UnwindSafe for BatchCloseAllResponse
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