pub struct BatchCancelError {
pub code: Option<String>,
pub message: Option<String>,
}Expand description
BatchCancelError
JSON schema
{
"type": "object",
"properties": {
"code": {
"description": "Machine-readable error code",
"examples": [
"ORDER_ALREADY_FILLED"
],
"type": [
"string",
"null"
]
},
"message": {
"description": "Human-readable error message",
"examples": [
"Order has already been fully filled"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§code: Option<String>Machine-readable error code
message: Option<String>Human-readable error message
Trait Implementations§
Source§impl Clone for BatchCancelError
impl Clone for BatchCancelError
Source§fn clone(&self) -> BatchCancelError
fn clone(&self) -> BatchCancelError
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 BatchCancelError
impl Debug for BatchCancelError
Source§impl Default for BatchCancelError
impl Default for BatchCancelError
Source§impl<'de> Deserialize<'de> for BatchCancelError
impl<'de> Deserialize<'de> for BatchCancelError
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 BatchCancelError
impl RefUnwindSafe for BatchCancelError
impl Send for BatchCancelError
impl Sync for BatchCancelError
impl Unpin for BatchCancelError
impl UnsafeUnpin for BatchCancelError
impl UnwindSafe for BatchCancelError
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