pub struct PredictionWalletTokenPnl { /* private fields */ }Implementations§
Source§impl PredictionWalletTokenPnl
impl PredictionWalletTokenPnl
pub fn avg_entry_price<T>(self, value: T) -> Self
pub fn avg_sell_price<T>(self, value: T) -> Self
pub fn condition_id<T>(self, value: T) -> Self
pub fn cost_basis<T>(self, value: T) -> Self
pub fn current_value<T>(self, value: T) -> Self
pub fn event_slug<T>(self, value: T) -> Self
pub fn first_activity_ts<T>(self, value: T) -> Self
pub fn last_activity_id<T>(self, value: T) -> Self
pub fn last_activity_ts<T>(self, value: T) -> Self
pub fn last_price<T>(self, value: T) -> Self
pub fn last_seq_index<T>(self, value: T) -> Self
pub fn loss_count<T>(self, value: T) -> Self
pub fn market_id<T>(self, value: T) -> Self
pub fn market_question<T>(self, value: T) -> Self
pub fn open_quantity<T>(self, value: T) -> Self
pub fn outcome<T>(self, value: T) -> Self
pub fn realized_pnl<T>(self, value: T) -> Self
pub fn state_quality<T>(self, value: T) -> Self
pub fn token_id<T>(self, value: T) -> Self
pub fn total_buy_amount<T>(self, value: T) -> Self
pub fn total_pnl<T>(self, value: T) -> Self
pub fn total_pnl_ratio<T>(self, value: T) -> Self
pub fn total_redeem_amount<T>(self, value: T) -> Self
pub fn total_sell_amount<T>(self, value: T) -> Self
pub fn total_volume<T>(self, value: T) -> Self
pub fn unrealized_pnl<T>(self, value: T) -> Self
pub fn wallet<T>(self, value: T) -> Self
pub fn win_count<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for PredictionWalletTokenPnl
impl Clone for PredictionWalletTokenPnl
Source§fn clone(&self) -> PredictionWalletTokenPnl
fn clone(&self) -> PredictionWalletTokenPnl
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 PredictionWalletTokenPnl
impl Debug for PredictionWalletTokenPnl
Source§impl Default for PredictionWalletTokenPnl
impl Default for PredictionWalletTokenPnl
Source§impl From<PredictionWalletTokenPnl> for PredictionWalletTokenPnl
impl From<PredictionWalletTokenPnl> for PredictionWalletTokenPnl
Source§fn from(value: PredictionWalletTokenPnl) -> Self
fn from(value: PredictionWalletTokenPnl) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PredictionWalletTokenPnl> for PredictionWalletTokenPnl
impl TryFrom<PredictionWalletTokenPnl> for PredictionWalletTokenPnl
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PredictionWalletTokenPnl) -> Result<Self, ConversionError>
fn try_from(value: PredictionWalletTokenPnl) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PredictionWalletTokenPnl
impl RefUnwindSafe for PredictionWalletTokenPnl
impl Send for PredictionWalletTokenPnl
impl Sync for PredictionWalletTokenPnl
impl Unpin for PredictionWalletTokenPnl
impl UnsafeUnpin for PredictionWalletTokenPnl
impl UnwindSafe for PredictionWalletTokenPnl
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