Struct binance::futures::model::FuturesPosition
source · pub struct FuturesPosition {Show 17 fields
pub symbol: String,
pub initial_margin: f64,
pub maint_margin: f64,
pub unrealized_profit: f64,
pub position_initial_margin: f64,
pub open_order_initial_margin: f64,
pub leverage: String,
pub isolated: bool,
pub entry_price: f64,
pub max_notional: f64,
pub position_side: String,
pub position_amount: f64,
pub notional: f64,
pub isolated_wallet: f64,
pub update_time: u64,
pub bid_notional: f64,
pub ask_notional: f64,
}
Fields§
§symbol: String
§initial_margin: f64
§maint_margin: f64
§unrealized_profit: f64
§position_initial_margin: f64
§open_order_initial_margin: f64
§leverage: String
§isolated: bool
§entry_price: f64
§max_notional: f64
§position_side: String
§position_amount: f64
§notional: f64
§isolated_wallet: f64
§update_time: u64
§bid_notional: f64
§ask_notional: f64
Trait Implementations§
source§impl Clone for FuturesPosition
impl Clone for FuturesPosition
source§fn clone(&self) -> FuturesPosition
fn clone(&self) -> FuturesPosition
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 FuturesPosition
impl Debug for FuturesPosition
source§impl<'de> Deserialize<'de> for FuturesPosition
impl<'de> Deserialize<'de> for FuturesPosition
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 FuturesPosition
impl Send for FuturesPosition
impl Sync for FuturesPosition
impl Unpin for FuturesPosition
impl UnwindSafe for FuturesPosition
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