pub struct PredictionWalletDailyPnl {
pub activity_count: i64,
pub day: String,
pub loss_count: i64,
pub realized_pnl: String,
pub volume: String,
pub win_count: i64,
}Expand description
PredictionWalletDailyPnl
JSON schema
{
"type": "object",
"required": [
"activityCount",
"day",
"lossCount",
"realizedPnl",
"volume",
"winCount"
],
"properties": {
"activityCount": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"day": {
"type": "string"
},
"lossCount": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"realizedPnl": {
"type": "string"
},
"volume": {
"type": "string"
},
"winCount": {
"type": "integer",
"format": "int64",
"minimum": 0.0
}
}
}Fields§
§activity_count: i64§day: String§loss_count: i64§realized_pnl: String§volume: String§win_count: i64Implementations§
Source§impl PredictionWalletDailyPnl
impl PredictionWalletDailyPnl
pub fn builder() -> PredictionWalletDailyPnl
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<'de> Deserialize<'de> for PredictionWalletDailyPnl
impl<'de> Deserialize<'de> for PredictionWalletDailyPnl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 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 Serialize for PredictionWalletDailyPnl
impl Serialize for PredictionWalletDailyPnl
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