pub enum OrderStop {
Loss,
Entry,
}Expand description
Loss triggers when the last trade price changes to a value at or below the stop_price.
Entry triggers when the last trade price changes to a value at or above the stop_price.
Variants§
Trait Implementations§
impl Copy for OrderStop
Auto Trait Implementations§
impl Freeze for OrderStop
impl RefUnwindSafe for OrderStop
impl Send for OrderStop
impl Sync for OrderStop
impl Unpin for OrderStop
impl UnwindSafe for OrderStop
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