pub struct GetPortfolioChartResponse {
pub data: Option<Vec<ChartDataPoint>>,
pub metric: Option<String>,
pub period: Option<String>,
}Expand description
GetPortfolioChartResponse
JSON schema
{
"type": "object",
"properties": {
"data": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ChartDataPoint"
}
},
"metric": {
"description": "Metric used for this query",
"examples": [
"pnl"
],
"type": [
"string",
"null"
]
},
"period": {
"description": "Period used for this query",
"examples": [
"30d"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§data: Option<Vec<ChartDataPoint>>§metric: Option<String>Metric used for this query
period: Option<String>Period used for this query
Trait Implementations§
Source§impl Clone for GetPortfolioChartResponse
impl Clone for GetPortfolioChartResponse
Source§fn clone(&self) -> GetPortfolioChartResponse
fn clone(&self) -> GetPortfolioChartResponse
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 GetPortfolioChartResponse
impl Debug for GetPortfolioChartResponse
Source§impl Default for GetPortfolioChartResponse
impl Default for GetPortfolioChartResponse
Source§impl<'de> Deserialize<'de> for GetPortfolioChartResponse
impl<'de> Deserialize<'de> for GetPortfolioChartResponse
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 GetPortfolioChartResponse
impl RefUnwindSafe for GetPortfolioChartResponse
impl Send for GetPortfolioChartResponse
impl Sync for GetPortfolioChartResponse
impl Unpin for GetPortfolioChartResponse
impl UnsafeUnpin for GetPortfolioChartResponse
impl UnwindSafe for GetPortfolioChartResponse
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