pub struct BatchOrderResult {
pub order_id: Option<i64>,
pub symbol: String,
pub code: i32,
pub msg: String,
pub client_order_id: Option<String>,
}Expand description
Batch order result.
Fields§
§order_id: Option<i64>Order ID.
symbol: StringTrading pair symbol.
code: i32Status code (200 indicates success).
msg: StringMessage body.
client_order_id: Option<String>Client order identifier.
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§fn clone_from(&mut self, source: &Self)
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<BatchOrderResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BatchOrderResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BatchOrderResult
impl Serialize for BatchOrderResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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