pub struct PortfolioWindow {
pub as_of: Option<String>,
pub coverage: Option<PortfolioWindowCoverage>,
pub data_through: Option<String>,
pub effective_starts_at: Option<String>,
pub history_starts_at: Option<String>,
pub period: Option<PortfolioWindowPeriod>,
pub requested_starts_at: Option<String>,
}Expand description
PortfolioWindow
JSON schema
{
"type": "object",
"properties": {
"asOf": {
"description": "Exclusive response query cutoff (RFC3339)",
"type": [
"string",
"null"
]
},
"coverage": {
"description": "History coverage for the requested period",
"type": [
"string",
"null"
],
"enum": [
"complete",
"partial",
"none"
]
},
"dataThrough": {
"description": "Newest underlying observation used (RFC3339)",
"type": [
"string",
"null"
]
},
"effectiveStartsAt": {
"description": "Actual calculation start after retained-history constraints (RFC3339)",
"type": [
"string",
"null"
]
},
"historyStartsAt": {
"description": "First observation with complete endpoint semantics (RFC3339)",
"type": [
"string",
"null"
]
},
"period": {
"description": "Closed portfolio period token",
"type": [
"string",
"null"
],
"enum": [
"1d",
"1w",
"1m",
"all"
]
},
"requestedStartsAt": {
"description": "Requested rolling-window start; null for all (RFC3339)",
"type": [
"string",
"null"
]
}
}
}Fields§
§as_of: Option<String>Exclusive response query cutoff (RFC3339)
coverage: Option<PortfolioWindowCoverage>History coverage for the requested period
data_through: Option<String>Newest underlying observation used (RFC3339)
effective_starts_at: Option<String>Actual calculation start after retained-history constraints (RFC3339)
history_starts_at: Option<String>First observation with complete endpoint semantics (RFC3339)
period: Option<PortfolioWindowPeriod>Closed portfolio period token
requested_starts_at: Option<String>Requested rolling-window start; null for all (RFC3339)
Trait Implementations§
Source§impl Clone for PortfolioWindow
impl Clone for PortfolioWindow
Source§fn clone(&self) -> PortfolioWindow
fn clone(&self) -> PortfolioWindow
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 PortfolioWindow
impl Debug for PortfolioWindow
Source§impl Default for PortfolioWindow
impl Default for PortfolioWindow
Source§impl<'de> Deserialize<'de> for PortfolioWindow
impl<'de> Deserialize<'de> for PortfolioWindow
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 PortfolioWindow
impl RefUnwindSafe for PortfolioWindow
impl Send for PortfolioWindow
impl Sync for PortfolioWindow
impl Unpin for PortfolioWindow
impl UnsafeUnpin for PortfolioWindow
impl UnwindSafe for PortfolioWindow
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