pub struct BracketOrderIds {
pub parent: OrderId,
pub take_profit: OrderId,
pub stop_loss: OrderId,
}Expand description
Represents the order IDs for a bracket order
Fields§
§parent: OrderIdThe parent order ID
take_profit: OrderIdThe take profit order ID
stop_loss: OrderIdThe stop loss order ID
Implementations§
Trait Implementations§
Source§impl Clone for BracketOrderIds
impl Clone for BracketOrderIds
Source§fn clone(&self) -> BracketOrderIds
fn clone(&self) -> BracketOrderIds
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 moreSource§impl ComposeSchema for BracketOrderIds
impl ComposeSchema for BracketOrderIds
Source§impl Debug for BracketOrderIds
impl Debug for BracketOrderIds
Source§impl<'de> Deserialize<'de> for BracketOrderIds
impl<'de> Deserialize<'de> for BracketOrderIds
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BracketOrderIds
impl Display for BracketOrderIds
Source§impl Hash for BracketOrderIds
impl Hash for BracketOrderIds
Source§impl PartialEq for BracketOrderIds
impl PartialEq for BracketOrderIds
Source§fn eq(&self, other: &BracketOrderIds) -> bool
fn eq(&self, other: &BracketOrderIds) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BracketOrderIds
impl Serialize for BracketOrderIds
Source§impl ToSchema for BracketOrderIds
impl ToSchema for BracketOrderIds
impl Copy for BracketOrderIds
impl Eq for BracketOrderIds
impl StructuralPartialEq for BracketOrderIds
Auto Trait Implementations§
impl Freeze for BracketOrderIds
impl RefUnwindSafe for BracketOrderIds
impl Send for BracketOrderIds
impl Sync for BracketOrderIds
impl Unpin for BracketOrderIds
impl UnsafeUnpin for BracketOrderIds
impl UnwindSafe for BracketOrderIds
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.