pub enum BacktestCommand {
Run {
template: StrategyTemplate,
instrument: String,
from: NaiveDate,
to: NaiveDate,
},
List,
ReportLatest,
ReportShow {
run_id: i64,
},
}Variants§
Trait Implementations§
Source§impl Clone for BacktestCommand
impl Clone for BacktestCommand
Source§fn clone(&self) -> BacktestCommand
fn clone(&self) -> BacktestCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 BacktestCommand
impl Debug for BacktestCommand
Source§impl PartialEq for BacktestCommand
impl PartialEq for BacktestCommand
impl Eq for BacktestCommand
impl StructuralPartialEq for BacktestCommand
Auto Trait Implementations§
impl Freeze for BacktestCommand
impl RefUnwindSafe for BacktestCommand
impl Send for BacktestCommand
impl Sync for BacktestCommand
impl Unpin for BacktestCommand
impl UnsafeUnpin for BacktestCommand
impl UnwindSafe for BacktestCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.