pub struct BatchCancelResult {
pub cancelled_at: Option<String>,
pub error: Option<BatchCancelError>,
pub order_id: Option<Uuid>,
}Expand description
BatchCancelResult
JSON schema
{
"type": "object",
"properties": {
"cancelledAt": {
"description": "Cancellation timestamp (ISO 8601). Present on success; absent when `error` is set.",
"examples": [
"2023-11-13T10:35:00Z"
],
"type": [
"string",
"null"
]
},
"error": {
"$ref": "#/components/schemas/BatchCancelError"
},
"orderId": {
"description": "Order UUID",
"examples": [
"123e4567-e89b-12d3-a456-426614174000"
],
"type": [
"string",
"null"
],
"format": "uuid"
}
}
}Fields§
§cancelled_at: Option<String>Cancellation timestamp (ISO 8601). Present on success; absent when error is set.
error: Option<BatchCancelError>§order_id: Option<Uuid>Order UUID
Trait Implementations§
Source§impl Clone for BatchCancelResult
impl Clone for BatchCancelResult
Source§fn clone(&self) -> BatchCancelResult
fn clone(&self) -> BatchCancelResult
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 BatchCancelResult
impl Debug for BatchCancelResult
Source§impl Default for BatchCancelResult
impl Default for BatchCancelResult
Source§impl<'de> Deserialize<'de> for BatchCancelResult
impl<'de> Deserialize<'de> for BatchCancelResult
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 BatchCancelResult
impl RefUnwindSafe for BatchCancelResult
impl Send for BatchCancelResult
impl Sync for BatchCancelResult
impl Unpin for BatchCancelResult
impl UnsafeUnpin for BatchCancelResult
impl UnwindSafe for BatchCancelResult
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