pub struct BacktestTerminal {
pub mode: BinanceMode,
pub base_dir: String,
}Fields§
§mode: BinanceMode§base_dir: StringImplementations§
Source§impl BacktestTerminal
impl BacktestTerminal
pub fn new(mode: BinanceMode, base_dir: impl Into<String>) -> Self
Trait Implementations§
Source§impl TerminalApp for BacktestTerminal
impl TerminalApp for BacktestTerminal
fn terminal_mode(&self) -> TerminalMode
fn intro_panel(&self) -> String
fn help_text(&self) -> String
fn prompt(&self) -> String
fn complete(&self, line: &str) -> Vec<ShellCompletion>
fn execute_line(&mut self, line: &str) -> Result<TerminalEvent, String>
fn help_heading(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for BacktestTerminal
impl RefUnwindSafe for BacktestTerminal
impl Send for BacktestTerminal
impl Sync for BacktestTerminal
impl Unpin for BacktestTerminal
impl UnsafeUnpin for BacktestTerminal
impl UnwindSafe for BacktestTerminal
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