pub struct ClosedPnlItem {Show 19 fields
pub symbol: String,
pub order_id: String,
pub side: String,
pub qty: String,
pub order_price: String,
pub order_type: String,
pub exec_type: String,
pub closed_size: String,
pub cum_entry_value: String,
pub avg_entry_price: String,
pub cum_exit_value: String,
pub avg_exit_price: String,
pub closed_pnl: String,
pub fill_count: String,
pub leverage: String,
pub open_fee: String,
pub close_fee: String,
pub created_time: String,
pub updated_time: String,
}Fields§
§symbol: String§order_id: String§side: String§qty: String§order_price: String§order_type: String§exec_type: String§closed_size: String§cum_entry_value: String§avg_entry_price: String§cum_exit_value: String§avg_exit_price: String§closed_pnl: String§fill_count: String§leverage: String§open_fee: String§close_fee: String§created_time: String§updated_time: StringTrait Implementations§
Source§impl Clone for ClosedPnlItem
impl Clone for ClosedPnlItem
Source§fn clone(&self) -> ClosedPnlItem
fn clone(&self) -> ClosedPnlItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnsafeUnpin 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