pub struct WalletPnlSummary { /* private fields */ }Implementations§
Source§impl WalletPnlSummary
impl WalletPnlSummary
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 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 resolution<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_profit_ratio<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 unrealized_profit_ratio<T>(self, value: T) -> Self
pub fn updated_at<T>(self, value: T) -> Self
pub fn wallet_address<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 WalletPnlSummary
impl Clone for WalletPnlSummary
Source§fn clone(&self) -> WalletPnlSummary
fn clone(&self) -> WalletPnlSummary
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 WalletPnlSummary
impl Debug for WalletPnlSummary
Source§impl Default for WalletPnlSummary
impl Default for WalletPnlSummary
Source§impl From<WalletPnlSummary> for WalletPnlSummary
impl From<WalletPnlSummary> for WalletPnlSummary
Source§fn from(value: WalletPnlSummary) -> Self
fn from(value: WalletPnlSummary) -> Self
Converts to this type from the input type.
Source§impl TryFrom<WalletPnlSummary> for WalletPnlSummary
impl TryFrom<WalletPnlSummary> for WalletPnlSummary
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WalletPnlSummary) -> Result<Self, ConversionError>
fn try_from(value: WalletPnlSummary) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WalletPnlSummary
impl RefUnwindSafe for WalletPnlSummary
impl Send for WalletPnlSummary
impl Sync for WalletPnlSummary
impl Unpin for WalletPnlSummary
impl UnsafeUnpin for WalletPnlSummary
impl UnwindSafe for WalletPnlSummary
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