pub struct BatchCreateOrdersResponse {
pub results: Option<Vec<BatchCreateResult>>,
pub total_failed: Option<i32>,
pub total_requested: Option<i32>,
pub total_succeeded: Option<i32>,
}Expand description
BatchCreateOrdersResponse
JSON schema
{
"type": "object",
"properties": {
"results": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/BatchCreateResult"
}
},
"total_failed": {
"description": "Number of creations that failed",
"examples": [
1
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"total_requested": {
"description": "Number of orders requested to create",
"examples": [
5
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"total_succeeded": {
"description": "Number of orders successfully created",
"examples": [
4
],
"type": [
"integer",
"null"
],
"format": "int32"
}
}
}Fields§
§results: Option<Vec<BatchCreateResult>>§total_failed: Option<i32>Number of creations that failed
total_requested: Option<i32>Number of orders requested to create
total_succeeded: Option<i32>Number of orders successfully created
Trait Implementations§
Source§impl Clone for BatchCreateOrdersResponse
impl Clone for BatchCreateOrdersResponse
Source§fn clone(&self) -> BatchCreateOrdersResponse
fn clone(&self) -> BatchCreateOrdersResponse
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 BatchCreateOrdersResponse
impl Debug for BatchCreateOrdersResponse
Source§impl Default for BatchCreateOrdersResponse
impl Default for BatchCreateOrdersResponse
Source§impl<'de> Deserialize<'de> for BatchCreateOrdersResponse
impl<'de> Deserialize<'de> for BatchCreateOrdersResponse
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 BatchCreateOrdersResponse
impl RefUnwindSafe for BatchCreateOrdersResponse
impl Send for BatchCreateOrdersResponse
impl Sync for BatchCreateOrdersResponse
impl Unpin for BatchCreateOrdersResponse
impl UnsafeUnpin for BatchCreateOrdersResponse
impl UnwindSafe for BatchCreateOrdersResponse
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