pub struct BnUsdmAccountPosition {
pub symbol: CryptoSymbol,
pub position_side: BnPositionSide,
pub position_amt: Decimal,
pub unrealized_profit: Decimal,
pub entry_price: Decimal,
pub initial_margin: Decimal,
pub maint_margin: Decimal,
pub leverage: Decimal,
pub update_time: DateTime<Utc>,
}Fields§
§symbol: CryptoSymbol§position_side: BnPositionSide§position_amt: Decimal§unrealized_profit: Decimal§entry_price: Decimalaverage entry price
initial_margin: Decimalinitial margin required with current mark price
maint_margin: Decimalmaintenance margin required
leverage: Decimalcurrent initial leverage
update_time: DateTime<Utc>Trait Implementations§
Source§impl Debug for BnUsdmAccountPosition
impl Debug for BnUsdmAccountPosition
Source§impl<'de> Deserialize<'de> for BnUsdmAccountPosition
impl<'de> Deserialize<'de> for BnUsdmAccountPosition
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 BnUsdmAccountPosition
impl RefUnwindSafe for BnUsdmAccountPosition
impl Send for BnUsdmAccountPosition
impl Sync for BnUsdmAccountPosition
impl Unpin for BnUsdmAccountPosition
impl UnwindSafe for BnUsdmAccountPosition
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