pub struct BatchOrderSuccess {Show 15 fields
pub symbol: String,
pub order_id: i64,
pub order_list_id: Option<i64>,
pub client_order_id: String,
pub transact_time: i64,
pub price: String,
pub orig_qty: String,
pub executed_qty: String,
pub cummulative_quote_qty: String,
pub status: String,
pub time_in_force: String,
pub order_type: String,
pub side: String,
pub working_time: Option<i64>,
pub self_trade_prevention_mode: Option<String>,
}Expand description
Successful order in a batch response.
Fields§
§symbol: StringTrading pair symbol.
order_id: i64Exchange order ID.
order_list_id: Option<i64>Order list ID (for OCO orders).
client_order_id: StringClient order ID.
transact_time: i64Transaction time in milliseconds.
price: StringOrder price.
orig_qty: StringOriginal order quantity.
executed_qty: StringExecuted quantity.
cummulative_quote_qty: StringCumulative quote quantity.
status: StringOrder status.
time_in_force: StringTime in force.
order_type: StringOrder type.
side: StringOrder side.
working_time: Option<i64>Working time in milliseconds.
self_trade_prevention_mode: Option<String>Self-trade prevention mode.
Trait Implementations§
Source§impl Clone for BatchOrderSuccess
impl Clone for BatchOrderSuccess
Source§fn clone(&self) -> BatchOrderSuccess
fn clone(&self) -> BatchOrderSuccess
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 BatchOrderSuccess
impl Debug for BatchOrderSuccess
Source§impl<'de> Deserialize<'de> for BatchOrderSuccess
impl<'de> Deserialize<'de> for BatchOrderSuccess
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
Source§impl PartialEq for BatchOrderSuccess
impl PartialEq for BatchOrderSuccess
impl StructuralPartialEq for BatchOrderSuccess
Auto Trait Implementations§
impl Freeze for BatchOrderSuccess
impl RefUnwindSafe for BatchOrderSuccess
impl Send for BatchOrderSuccess
impl Sync for BatchOrderSuccess
impl Unpin for BatchOrderSuccess
impl UnsafeUnpin for BatchOrderSuccess
impl UnwindSafe for BatchOrderSuccess
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more