pub enum MarketSource {
Synthetic {
seed: u64,
history_days: u16,
},
File {
path: PathBuf,
},
}Expand description
Where the scenario’s market data comes from.
Variants§
Synthetic
The deterministic synthetic generator.
Fields
File
A CSV data file, relative to the scenario file.
Trait Implementations§
Source§impl Clone for MarketSource
impl Clone for MarketSource
Source§impl Debug for MarketSource
impl Debug for MarketSource
impl Eq for MarketSource
Source§impl PartialEq for MarketSource
impl PartialEq for MarketSource
impl StructuralPartialEq for MarketSource
Auto Trait Implementations§
impl Forget for MarketSource
impl Freeze for MarketSource
impl Move for MarketSource
impl RefUnwindSafe for MarketSource
impl Send for MarketSourcewhere
RawVecInner: Send,
impl Sync for MarketSourcewhere
RawVecInner: Sync,
impl Unpin for MarketSource
impl UnsafeUnpin for MarketSource
impl UnwindSafe for MarketSourcewhere
RawVecInner: UnwindSafe,
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