Struct binance::rest_model::Transaction
source · [−]pub struct Transaction {Show 13 fields
pub symbol: String,
pub order_id: u64,
pub client_order_id: String,
pub transact_time: u64,
pub price: f64,
pub orig_qty: f64,
pub executed_qty: f64,
pub cummulative_quote_qty: f64,
pub status: OrderStatus,
pub time_in_force: TimeInForce,
pub order_type: OrderType,
pub side: OrderSide,
pub fills: Vec<Fill>,
}Fields
symbol: Stringorder_id: u64client_order_id: Stringtransact_time: u64price: f64orig_qty: f64executed_qty: f64cummulative_quote_qty: f64status: OrderStatustime_in_force: TimeInForceorder_type: OrderTypeside: OrderSidefills: Vec<Fill>Trait Implementations
sourceimpl Clone for Transaction
impl Clone for Transaction
sourcefn clone(&self) -> Transaction
fn clone(&self) -> Transaction
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Transaction
impl Debug for Transaction
sourceimpl<'de> Deserialize<'de> for Transaction
impl<'de> Deserialize<'de> for Transaction
sourcefn 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
sourceimpl Serialize for Transaction
impl Serialize for Transaction
Auto Trait Implementations
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more