pub struct PnlDetailSummary { /* private fields */ }Implementations§
Source§impl PnlDetailSummary
impl PnlDetailSummary
pub fn avg_profit_per_trade_in_usd<T>(self, value: T) -> Self
pub fn buy_amount_in_usd<T>(self, value: T) -> Self
pub fn buys<T>(self, value: T) -> Self
pub fn current_value<T>(self, value: T) -> Self
pub fn losses<T>(self, value: T) -> Self
pub fn realized_profit_in_usd<T>(self, value: T) -> Self
pub fn realized_profit_ratio<T>(self, value: T) -> Self
pub fn sell_amount_in_usd<T>(self, value: T) -> Self
pub fn sells<T>(self, value: T) -> Self
pub fn tokens<T>(self, value: T) -> Self
pub fn total_cost_in_usd<T>(self, value: T) -> Self
pub fn total_profit_in_usd<T>(self, value: T) -> Self
pub fn total_trades<T>(self, value: T) -> Self
pub fn unrealized_profit_in_usd<T>(self, value: T) -> Self
pub fn win_rate<T>(self, value: T) -> Self
pub fn wins<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for PnlDetailSummary
impl Clone for PnlDetailSummary
Source§fn clone(&self) -> PnlDetailSummary
fn clone(&self) -> PnlDetailSummary
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 PnlDetailSummary
impl Debug for PnlDetailSummary
Source§impl Default for PnlDetailSummary
impl Default for PnlDetailSummary
Source§impl From<PnlDetailSummary> for PnlDetailSummary
impl From<PnlDetailSummary> for PnlDetailSummary
Source§fn from(value: PnlDetailSummary) -> Self
fn from(value: PnlDetailSummary) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PnlDetailSummary> for PnlDetailSummary
impl TryFrom<PnlDetailSummary> for PnlDetailSummary
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PnlDetailSummary) -> Result<Self, ConversionError>
fn try_from(value: PnlDetailSummary) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PnlDetailSummary
impl RefUnwindSafe for PnlDetailSummary
impl Send for PnlDetailSummary
impl Sync for PnlDetailSummary
impl Unpin for PnlDetailSummary
impl UnsafeUnpin for PnlDetailSummary
impl UnwindSafe for PnlDetailSummary
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