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