pub struct PortfolioSeriesWindow {
pub as_of: Option<String>,
pub calculation_interval: Option<PortfolioSeriesWindowCalculationInterval>,
pub coverage: Option<PortfolioSeriesWindowCoverage>,
pub data_through: Option<String>,
pub display_interval: Option<PortfolioSeriesWindowDisplayInterval>,
pub effective_starts_at: Option<String>,
pub history_starts_at: Option<String>,
pub period: Option<PortfolioSeriesWindowPeriod>,
pub requested_starts_at: Option<String>,
}Expand description
PortfolioSeriesWindow
JSON schema
{
"type": "object",
"properties": {
"asOf": {
"type": [
"string",
"null"
]
},
"calculationInterval": {
"description": "Finest retained interval used before display downsampling",
"type": [
"string",
"null"
],
"enum": [
"1m",
"5m",
"15m",
"1h",
"4h",
"1d"
]
},
"coverage": {
"type": [
"string",
"null"
],
"enum": [
"complete",
"partial",
"none"
]
},
"dataThrough": {
"type": [
"string",
"null"
]
},
"displayInterval": {
"description": "Interval of returned chart points",
"type": [
"string",
"null"
],
"enum": [
"5m",
"1h",
"4h",
"1d"
]
},
"effectiveStartsAt": {
"type": [
"string",
"null"
]
},
"historyStartsAt": {
"type": [
"string",
"null"
]
},
"period": {
"description": "Closed portfolio period token",
"type": [
"string",
"null"
],
"enum": [
"1d",
"1w",
"1m",
"all"
]
},
"requestedStartsAt": {
"type": [
"string",
"null"
]
}
}
}Fields§
§as_of: Option<String>§calculation_interval: Option<PortfolioSeriesWindowCalculationInterval>Finest retained interval used before display downsampling
coverage: Option<PortfolioSeriesWindowCoverage>§data_through: Option<String>§display_interval: Option<PortfolioSeriesWindowDisplayInterval>Interval of returned chart points
effective_starts_at: Option<String>§history_starts_at: Option<String>§period: Option<PortfolioSeriesWindowPeriod>Closed portfolio period token
requested_starts_at: Option<String>Trait Implementations§
Source§impl Clone for PortfolioSeriesWindow
impl Clone for PortfolioSeriesWindow
Source§fn clone(&self) -> PortfolioSeriesWindow
fn clone(&self) -> PortfolioSeriesWindow
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 PortfolioSeriesWindow
impl Debug for PortfolioSeriesWindow
Source§impl Default for PortfolioSeriesWindow
impl Default for PortfolioSeriesWindow
Source§impl<'de> Deserialize<'de> for PortfolioSeriesWindow
impl<'de> Deserialize<'de> for PortfolioSeriesWindow
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 PortfolioSeriesWindow
impl RefUnwindSafe for PortfolioSeriesWindow
impl Send for PortfolioSeriesWindow
impl Sync for PortfolioSeriesWindow
impl Unpin for PortfolioSeriesWindow
impl UnsafeUnpin for PortfolioSeriesWindow
impl UnwindSafe for PortfolioSeriesWindow
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