pub struct WalletPnlDto { /* private fields */ }Implementations§
Source§impl WalletPnlDto
impl WalletPnlDto
pub fn average_buy_price_in_usd<T>(self, value: T) -> Self
pub fn average_sell_price_in_usd<T>(self, value: T) -> Self
pub fn balance<T>(self, value: T) -> Self
pub fn buy_amount<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 chain<T>(self, value: T) -> Self
pub fn close_time<T>(self, value: T) -> Self
pub fn id<T>(self, value: T) -> Self
pub fn last_time<T>(self, value: T) -> Self
pub fn open_time<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<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 token_address<T>(self, value: T) -> Self
pub fn token_price_in_usd<T>(self, value: T) -> Self
pub fn total_realized_profit_in_usd<T>(self, value: T) -> Self
pub fn total_realized_profit_ratio<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 wallet_address<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for WalletPnlDto
impl Clone for WalletPnlDto
Source§fn clone(&self) -> WalletPnlDto
fn clone(&self) -> WalletPnlDto
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 WalletPnlDto
impl Debug for WalletPnlDto
Source§impl Default for WalletPnlDto
impl Default for WalletPnlDto
Source§impl From<WalletPnlDto> for WalletPnlDto
impl From<WalletPnlDto> for WalletPnlDto
Source§fn from(value: WalletPnlDto) -> Self
fn from(value: WalletPnlDto) -> Self
Converts to this type from the input type.
Source§impl TryFrom<WalletPnlDto> for WalletPnlDto
impl TryFrom<WalletPnlDto> for WalletPnlDto
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WalletPnlDto) -> Result<Self, ConversionError>
fn try_from(value: WalletPnlDto) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WalletPnlDto
impl RefUnwindSafe for WalletPnlDto
impl Send for WalletPnlDto
impl Sync for WalletPnlDto
impl Unpin for WalletPnlDto
impl UnwindSafe for WalletPnlDto
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