pub enum TrailingStop {
Percentage(f64),
Dollar(Decimal),
}Expand description
Trailing stop configuration
Variants§
Trait Implementations§
Source§impl Clone for TrailingStop
impl Clone for TrailingStop
Source§fn clone(&self) -> TrailingStop
fn clone(&self) -> TrailingStop
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 moreAuto Trait Implementations§
impl Freeze for TrailingStop
impl RefUnwindSafe for TrailingStop
impl Send for TrailingStop
impl Sync for TrailingStop
impl Unpin for TrailingStop
impl UnwindSafe for TrailingStop
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