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