pub struct PortfolioRealizedPnlPoint {
pub fees_paid: Option<String>,
pub funding_pnl: Option<String>,
pub net_realized_pnl: Option<String>,
pub perps_closed_pnl: Option<String>,
pub spot_trade_pnl: Option<String>,
pub timestamp: Option<String>,
}Expand description
PortfolioRealizedPnlPoint
JSON schema
{
"type": "object",
"properties": {
"feesPaid": {
"type": [
"string",
"null"
]
},
"fundingPnl": {
"type": [
"string",
"null"
]
},
"netRealizedPnl": {
"type": [
"string",
"null"
]
},
"perpsClosedPnl": {
"type": [
"string",
"null"
]
},
"spotTradePnl": {
"type": [
"string",
"null"
]
},
"timestamp": {
"type": [
"string",
"null"
]
}
}
}Fields§
§fees_paid: Option<String>§funding_pnl: Option<String>§net_realized_pnl: Option<String>§perps_closed_pnl: Option<String>§spot_trade_pnl: Option<String>§timestamp: Option<String>Trait Implementations§
Source§impl Clone for PortfolioRealizedPnlPoint
impl Clone for PortfolioRealizedPnlPoint
Source§fn clone(&self) -> PortfolioRealizedPnlPoint
fn clone(&self) -> PortfolioRealizedPnlPoint
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 PortfolioRealizedPnlPoint
impl Debug for PortfolioRealizedPnlPoint
Source§impl Default for PortfolioRealizedPnlPoint
impl Default for PortfolioRealizedPnlPoint
Source§impl<'de> Deserialize<'de> for PortfolioRealizedPnlPoint
impl<'de> Deserialize<'de> for PortfolioRealizedPnlPoint
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
Auto Trait Implementations§
impl Freeze for PortfolioRealizedPnlPoint
impl RefUnwindSafe for PortfolioRealizedPnlPoint
impl Send for PortfolioRealizedPnlPoint
impl Sync for PortfolioRealizedPnlPoint
impl Unpin for PortfolioRealizedPnlPoint
impl UnsafeUnpin for PortfolioRealizedPnlPoint
impl UnwindSafe for PortfolioRealizedPnlPoint
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