pub struct BatchOrderResult {
pub order: Option<BinanceOrderResponse>,
pub code: Option<i32>,
pub msg: Option<SmartString>,
}Expand description
Result for individual order in batch response
Fields§
§order: Option<BinanceOrderResponse>Order response data if the order was successful
code: Option<i32>Error code if the order failed
msg: Option<SmartString>Error message if the order failed
Trait Implementations§
Source§impl Clone for BatchOrderResult
impl Clone for BatchOrderResult
Source§fn clone(&self) -> BatchOrderResult
fn clone(&self) -> BatchOrderResult
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchOrderResult
impl Debug for BatchOrderResult
Source§impl<'de> Deserialize<'de> for BatchOrderResult
impl<'de> Deserialize<'de> for BatchOrderResult
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 BatchOrderResult
impl RefUnwindSafe for BatchOrderResult
impl Send for BatchOrderResult
impl Sync for BatchOrderResult
impl Unpin for BatchOrderResult
impl UnwindSafe for BatchOrderResult
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