pub struct StrategyWatch {
pub id: u64,
pub mode: BinanceMode,
pub template: StrategyTemplate,
pub instrument: Instrument,
pub state: StrategyWatchState,
pub current_step: usize,
pub config: StrategyStartConfig,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Fields§
§id: u64§mode: BinanceMode§template: StrategyTemplate§instrument: Instrument§state: StrategyWatchState§current_step: usize§config: StrategyStartConfig§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Implementations§
Source§impl StrategyWatch
impl StrategyWatch
pub fn new( id: u64, mode: BinanceMode, template: StrategyTemplate, instrument: Instrument, config: StrategyStartConfig, ) -> Self
Trait Implementations§
Source§impl Clone for StrategyWatch
impl Clone for StrategyWatch
Source§fn clone(&self) -> StrategyWatch
fn clone(&self) -> StrategyWatch
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 StrategyWatch
impl Debug for StrategyWatch
Source§impl PartialEq for StrategyWatch
impl PartialEq for StrategyWatch
impl StructuralPartialEq for StrategyWatch
Auto Trait Implementations§
impl Freeze for StrategyWatch
impl RefUnwindSafe for StrategyWatch
impl Send for StrategyWatch
impl Sync for StrategyWatch
impl Unpin for StrategyWatch
impl UnsafeUnpin for StrategyWatch
impl UnwindSafe for StrategyWatch
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