pub struct BinanceOrderResponse {
pub symbol: String,
pub order_id: u64,
pub client_order_id: String,
pub price: f64,
pub orig_qty: f64,
pub executed_qty: f64,
pub status: String,
pub type: String,
pub side: String,
pub fills: Vec<BinanceFill>,
}Expand description
Binance order response (newOrderRespType=FULL).
Fields§
§symbol: String§order_id: u64§client_order_id: String§price: f64§orig_qty: f64§executed_qty: f64§status: String§type: String§side: String§fills: Vec<BinanceFill>Trait Implementations§
Source§impl Debug for BinanceOrderResponse
impl Debug for BinanceOrderResponse
Source§impl<'de> Deserialize<'de> for BinanceOrderResponse
impl<'de> Deserialize<'de> for BinanceOrderResponse
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 BinanceOrderResponse
impl RefUnwindSafe for BinanceOrderResponse
impl Send for BinanceOrderResponse
impl Sync for BinanceOrderResponse
impl Unpin for BinanceOrderResponse
impl UnsafeUnpin for BinanceOrderResponse
impl UnwindSafe for BinanceOrderResponse
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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