Struct binance::futures::rest_model::Position
source · pub struct Position {Show 15 fields
pub entry_price: f64,
pub margin_type: MarginType,
pub is_auto_add_margin: bool,
pub isolated_margin: f64,
pub leverage: u64,
pub liquidation_price: f64,
pub mark_price: f64,
pub max_notional_value: f64,
pub position_amount: f64,
pub symbol: String,
pub unrealized_profit: f64,
pub position_side: PositionSide,
pub update_time: u64,
pub notional: f64,
pub isolated_wallet: f64,
}
Fields§
§entry_price: f64
§margin_type: MarginType
§is_auto_add_margin: bool
§isolated_margin: f64
§leverage: u64
§liquidation_price: f64
§mark_price: f64
§max_notional_value: f64
§position_amount: f64
§symbol: String
§unrealized_profit: f64
§position_side: PositionSide
§update_time: u64
§notional: f64
§isolated_wallet: f64
Trait Implementations§
source§impl<'de> Deserialize<'de> for Position
impl<'de> Deserialize<'de> for Position
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 Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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