Struct bybit::model::ClosedPnlItem
source · pub struct ClosedPnlItem {Show 17 fields
pub symbol: String,
pub order_type: String,
pub leverage: String,
pub updated_time: String,
pub side: String,
pub order_id: String,
pub closed_pnl: f64,
pub avg_entry_price: f64,
pub qty: String,
pub cum_entry_value: f64,
pub created_time: String,
pub order_price: f64,
pub closed_size: String,
pub avg_exit_price: f64,
pub exec_type: String,
pub fill_count: String,
pub cum_exit_value: f64,
}Fields§
§symbol: String§order_type: String§leverage: String§updated_time: String§side: String§order_id: String§closed_pnl: f64§avg_entry_price: f64§qty: String§cum_entry_value: f64§created_time: String§order_price: f64§closed_size: String§avg_exit_price: f64§exec_type: String§fill_count: String§cum_exit_value: f64Trait Implementations§
source§impl Clone for ClosedPnlItem
impl Clone for ClosedPnlItem
source§fn clone(&self) -> ClosedPnlItem
fn clone(&self) -> ClosedPnlItem
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 ClosedPnlItem
impl Debug for ClosedPnlItem
source§impl<'de> Deserialize<'de> for ClosedPnlItem
impl<'de> Deserialize<'de> for ClosedPnlItem
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 ClosedPnlItem
impl RefUnwindSafe for ClosedPnlItem
impl Send for ClosedPnlItem
impl Sync for ClosedPnlItem
impl Unpin for ClosedPnlItem
impl UnwindSafe for ClosedPnlItem
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