Struct binance::futures::model::Transaction
source · pub struct Transaction {Show 21 fields
pub client_order_id: String,
pub cum_qty: f64,
pub cum_quote: f64,
pub executed_qty: f64,
pub order_id: u64,
pub avg_price: f64,
pub orig_qty: f64,
pub reduce_only: bool,
pub side: String,
pub position_side: String,
pub status: String,
pub stop_price: f64,
pub close_position: bool,
pub symbol: String,
pub time_in_force: String,
pub type_name: String,
pub orig_type: String,
pub activate_price: Option<f64>,
pub price_rate: Option<f64>,
pub update_time: u64,
pub working_type: String,
/* private fields */
}
Fields§
§client_order_id: String
§cum_qty: f64
§cum_quote: f64
§executed_qty: f64
§order_id: u64
§avg_price: f64
§orig_qty: f64
§reduce_only: bool
§side: String
§position_side: String
§status: String
§stop_price: f64
§close_position: bool
§symbol: String
§time_in_force: String
§type_name: String
§orig_type: String
§activate_price: Option<f64>
§price_rate: Option<f64>
§update_time: u64
§working_type: String
Trait Implementations§
source§impl Clone for Transaction
impl Clone for Transaction
source§fn clone(&self) -> Transaction
fn clone(&self) -> Transaction
Returns a copy 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 Transaction
impl Debug for Transaction
source§impl<'de> Deserialize<'de> for Transaction
impl<'de> Deserialize<'de> for Transaction
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 RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
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