pub struct AccountUpdatePosition {
pub symbol: String,
pub position_amount: Decimal,
pub entry_price: Decimal,
pub accumulated_realized: Decimal,
pub unrealized_pnl: Decimal,
pub margin_type: String,
pub isolated_wallet: String,
pub position_side: String,
}Fields§
§symbol: String§position_amount: Decimal§entry_price: Decimal§accumulated_realized: Decimal§unrealized_pnl: Decimal§margin_type: String§isolated_wallet: String§position_side: StringTrait Implementations§
Source§impl Clone for AccountUpdatePosition
impl Clone for AccountUpdatePosition
Source§fn clone(&self) -> AccountUpdatePosition
fn clone(&self) -> AccountUpdatePosition
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 AccountUpdatePosition
impl Debug for AccountUpdatePosition
Source§impl<'de> Deserialize<'de> for AccountUpdatePosition
impl<'de> Deserialize<'de> for AccountUpdatePosition
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 AccountUpdatePosition
impl RefUnwindSafe for AccountUpdatePosition
impl Send for AccountUpdatePosition
impl Sync for AccountUpdatePosition
impl Unpin for AccountUpdatePosition
impl UnwindSafe for AccountUpdatePosition
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