pub struct BracketLink {
pub entry_id: u64,
pub role: BracketRole,
}Expand description
Identifies an order as part of a bracket (entry + stop-loss + take-profit) submitted via
submit_bracket.
Fields§
§entry_id: u64Order ID of this bracket’s entry order (the entry’s own BracketLink::entry_id equals its
own id).
role: BracketRoleThis order’s role within the bracket.
Trait Implementations§
Source§impl Clone for BracketLink
impl Clone for BracketLink
Source§fn clone(&self) -> BracketLink
fn clone(&self) -> BracketLink
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 BracketLink
Source§impl Debug for BracketLink
impl Debug for BracketLink
impl Eq for BracketLink
Source§impl PartialEq for BracketLink
impl PartialEq for BracketLink
impl StructuralPartialEq for BracketLink
Auto Trait Implementations§
impl Freeze for BracketLink
impl RefUnwindSafe for BracketLink
impl Send for BracketLink
impl Sync for BracketLink
impl Unpin for BracketLink
impl UnsafeUnpin for BracketLink
impl UnwindSafe for BracketLink
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