pub struct GetPortfolioPerformanceResponse {
pub calculation_method: Option<GetPortfolioPerformanceResponseCalculationMethod>,
pub deposits: Option<String>,
pub ending_equity: Option<String>,
pub max_drawdown: Option<PortfolioPerformanceDrawdown>,
pub net_external_flows: Option<String>,
pub pnl: Option<String>,
pub points: Option<Vec<PortfolioPerformancePoint>>,
pub return_pct: Option<String>,
pub starting_equity: Option<String>,
pub valuation_status: Option<GetPortfolioPerformanceResponseValuationStatus>,
pub window: Option<PortfolioSeriesWindow>,
pub withdrawals: Option<String>,
}Expand description
GetPortfolioPerformanceResponse
JSON schema
{
"type": "object",
"properties": {
"calculationMethod": {
"type": [
"string",
"null"
],
"enum": [
"sampled_twr"
]
},
"deposits": {
"type": [
"string",
"null"
]
},
"endingEquity": {
"type": [
"string",
"null"
]
},
"maxDrawdown": {
"$ref": "#/components/schemas/PortfolioPerformanceDrawdown"
},
"netExternalFlows": {
"type": [
"string",
"null"
]
},
"pnl": {
"type": [
"string",
"null"
]
},
"points": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/PortfolioPerformancePoint"
}
},
"returnPct": {
"type": [
"string",
"null"
]
},
"startingEquity": {
"type": [
"string",
"null"
]
},
"valuationStatus": {
"type": [
"string",
"null"
],
"enum": [
"complete",
"partial"
]
},
"window": {
"$ref": "#/components/schemas/PortfolioSeriesWindow"
},
"withdrawals": {
"type": [
"string",
"null"
]
}
}
}Fields§
§calculation_method: Option<GetPortfolioPerformanceResponseCalculationMethod>§deposits: Option<String>§ending_equity: Option<String>§max_drawdown: Option<PortfolioPerformanceDrawdown>§net_external_flows: Option<String>§pnl: Option<String>§points: Option<Vec<PortfolioPerformancePoint>>§return_pct: Option<String>§starting_equity: Option<String>§valuation_status: Option<GetPortfolioPerformanceResponseValuationStatus>§window: Option<PortfolioSeriesWindow>§withdrawals: Option<String>Trait Implementations§
Source§impl Clone for GetPortfolioPerformanceResponse
impl Clone for GetPortfolioPerformanceResponse
Source§fn clone(&self) -> GetPortfolioPerformanceResponse
fn clone(&self) -> GetPortfolioPerformanceResponse
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<'de> Deserialize<'de> for GetPortfolioPerformanceResponse
impl<'de> Deserialize<'de> for GetPortfolioPerformanceResponse
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 GetPortfolioPerformanceResponse
impl RefUnwindSafe for GetPortfolioPerformanceResponse
impl Send for GetPortfolioPerformanceResponse
impl Sync for GetPortfolioPerformanceResponse
impl Unpin for GetPortfolioPerformanceResponse
impl UnsafeUnpin for GetPortfolioPerformanceResponse
impl UnwindSafe for GetPortfolioPerformanceResponse
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