pub enum StopStatus {
Pending,
Triggered,
Cancelled,
}Expand description
Status of a stop order.
Variants§
Pending
Waiting for trigger price to be reached.
Triggered
Stop price was reached; order has been submitted to the book.
Cancelled
Cancelled before being triggered.
Trait Implementations§
Source§impl Clone for StopStatus
impl Clone for StopStatus
Source§fn clone(&self) -> StopStatus
fn clone(&self) -> StopStatus
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 StopStatus
impl Debug for StopStatus
Source§impl PartialEq for StopStatus
impl PartialEq for StopStatus
impl Copy for StopStatus
impl Eq for StopStatus
impl StructuralPartialEq for StopStatus
Auto Trait Implementations§
impl Freeze for StopStatus
impl RefUnwindSafe for StopStatus
impl Send for StopStatus
impl Sync for StopStatus
impl Unpin for StopStatus
impl UnwindSafe for StopStatus
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