pub struct PositionUpdate {
pub symbol: String,
pub position_amount: String,
pub entry_price: String,
pub breakeven_price: String,
pub realized_pnl: String,
pub unrealized_pnl: String,
pub margin_type: String,
pub isolated_wallet: Option<String>,
pub position_side: String,
}Fields§
§symbol: String§position_amount: String§entry_price: String§breakeven_price: String§realized_pnl: String§unrealized_pnl: String§margin_type: String§isolated_wallet: Option<String>§position_side: StringTrait Implementations§
Source§impl Clone for PositionUpdate
impl Clone for PositionUpdate
Source§fn clone(&self) -> PositionUpdate
fn clone(&self) -> PositionUpdate
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 PositionUpdate
impl Debug for PositionUpdate
Source§impl<'de> Deserialize<'de> for PositionUpdate
impl<'de> Deserialize<'de> for PositionUpdate
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 PositionUpdate
impl RefUnwindSafe for PositionUpdate
impl Send for PositionUpdate
impl Sync for PositionUpdate
impl Unpin for PositionUpdate
impl UnwindSafe for PositionUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)