pub struct Universe {
pub from: Option<i64>,
pub to: Option<i64>,
pub symbols_hint: Option<String>,
pub symbols: Option<Vec<String>>,
}Expand description
The date window + universe hint a run should cover. Names/windows only — no embedded data.
Fields§
§from: Option<i64>Inclusive start date, YYYYMMDD.
to: Option<i64>Inclusive end date, YYYYMMDD.
symbols_hint: Option<String>A named universe hint (e.g. "sp500") the runner resolves to symbols.
symbols: Option<Vec<String>>An explicit symbol list, if the author pinned one.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Universe
impl<'de> Deserialize<'de> for Universe
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 Universe
impl RefUnwindSafe for Universe
impl Send for Universe
impl Sync for Universe
impl Unpin for Universe
impl UnsafeUnpin for Universe
impl UnwindSafe for Universe
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