pub struct FuturePosition {Show 20 fields
pub break_even_price: String,
pub cumulative_funding_payment: String,
pub cumulative_interest: String,
pub entry_price: String,
pub est_liquidation_price: String,
pub imf: String,
pub imf_function: MarginFunction,
pub mark_price: String,
pub mmf: String,
pub mmf_function: MarginFunction,
pub net_cost: String,
pub net_exposure_notional: String,
pub net_exposure_quantity: String,
pub net_quantity: String,
pub pnl_realized: String,
pub pnl_unrealized: String,
pub position_id: String,
pub subaccount_id: Option<u64>,
pub symbol: String,
pub user_id: u64,
}Fields§
§break_even_price: String§cumulative_funding_payment: String§cumulative_interest: String§entry_price: String§est_liquidation_price: String§imf: String§imf_function: MarginFunction§mark_price: String§mmf: String§mmf_function: MarginFunction§net_cost: String§net_exposure_notional: String§net_exposure_quantity: String§net_quantity: String§pnl_realized: String§pnl_unrealized: String§position_id: String§subaccount_id: Option<u64>§symbol: String§user_id: u64Trait Implementations§
Source§impl Clone for FuturePosition
impl Clone for FuturePosition
Source§fn clone(&self) -> FuturePosition
fn clone(&self) -> FuturePosition
Returns a duplicate 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 FuturePosition
impl Debug for FuturePosition
Source§impl<'de> Deserialize<'de> for FuturePosition
impl<'de> Deserialize<'de> for FuturePosition
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 FuturePosition
impl RefUnwindSafe for FuturePosition
impl Send for FuturePosition
impl Sync for FuturePosition
impl Unpin for FuturePosition
impl UnwindSafe for FuturePosition
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