pub struct BatchCancelAllResponse {
pub results: Option<Vec<BatchCancelResult>>,
pub total_cancelled: Option<i32>,
pub total_failed: Option<i32>,
pub total_requested: Option<i32>,
}Expand description
BatchCancelAllResponse
JSON schema
{
"type": "object",
"properties": {
"results": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/BatchCancelResult"
}
},
"totalCancelled": {
"description": "Number of orders successfully cancelled",
"examples": [
10
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"totalFailed": {
"description": "Number of cancellations that failed",
"examples": [
0
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"totalRequested": {
"description": "Number of orders requested to cancel",
"examples": [
10
],
"type": [
"integer",
"null"
],
"format": "int32"
}
}
}Fields§
§results: Option<Vec<BatchCancelResult>>§total_cancelled: Option<i32>Number of orders successfully cancelled
total_failed: Option<i32>Number of cancellations that failed
total_requested: Option<i32>Number of orders requested to cancel
Trait Implementations§
Source§impl Clone for BatchCancelAllResponse
impl Clone for BatchCancelAllResponse
Source§fn clone(&self) -> BatchCancelAllResponse
fn clone(&self) -> BatchCancelAllResponse
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 BatchCancelAllResponse
impl Debug for BatchCancelAllResponse
Source§impl Default for BatchCancelAllResponse
impl Default for BatchCancelAllResponse
Source§impl<'de> Deserialize<'de> for BatchCancelAllResponse
impl<'de> Deserialize<'de> for BatchCancelAllResponse
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 BatchCancelAllResponse
impl RefUnwindSafe for BatchCancelAllResponse
impl Send for BatchCancelAllResponse
impl Sync for BatchCancelAllResponse
impl Unpin for BatchCancelAllResponse
impl UnsafeUnpin for BatchCancelAllResponse
impl UnwindSafe for BatchCancelAllResponse
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