pub enum BracketRole {
Entry,
StopLoss,
TakeProfit,
}Expand description
An order’s role within a bracket.
Variants§
Entry
The order that opens the position.
StopLoss
The stop-loss exit.
TakeProfit
The take-profit exit.
Trait Implementations§
Source§impl Clone for BracketRole
impl Clone for BracketRole
Source§fn clone(&self) -> BracketRole
fn clone(&self) -> BracketRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BracketRole
Source§impl Debug for BracketRole
impl Debug for BracketRole
impl Eq for BracketRole
Source§impl PartialEq for BracketRole
impl PartialEq for BracketRole
impl StructuralPartialEq for BracketRole
Auto Trait Implementations§
impl Freeze for BracketRole
impl RefUnwindSafe for BracketRole
impl Send for BracketRole
impl Sync for BracketRole
impl Unpin for BracketRole
impl UnsafeUnpin for BracketRole
impl UnwindSafe for BracketRole
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