Struct binance::model::EventPosition
source · pub struct EventPosition {
pub symbol: String,
pub position_amount: String,
pub entry_price: String,
pub accumulated_realized: String,
pub unrealized_pnl: String,
pub margin_type: String,
pub isolated_wallet: String,
pub position_side: String,
}
Fields§
§symbol: String
§position_amount: String
§entry_price: String
§accumulated_realized: String
§unrealized_pnl: String
§margin_type: String
§isolated_wallet: String
§position_side: String
Trait Implementations§
source§impl Clone for EventPosition
impl Clone for EventPosition
source§fn clone(&self) -> EventPosition
fn clone(&self) -> EventPosition
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 EventPosition
impl Debug for EventPosition
source§impl<'de> Deserialize<'de> for EventPosition
impl<'de> Deserialize<'de> for EventPosition
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 EventPosition
impl Send for EventPosition
impl Sync for EventPosition
impl Unpin for EventPosition
impl UnwindSafe for EventPosition
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