pub struct ClientOrderId(/* private fields */);Expand description
The id a caller gives an order, which the venue echoes back or the implementation keeps for the orders it placed.
Opaque: compared and hashed as the venue’s text, never parsed.
Implementations§
Trait Implementations§
Source§impl Clone for ClientOrderId
impl Clone for ClientOrderId
Source§impl Debug for ClientOrderId
impl Debug for ClientOrderId
Source§impl Display for ClientOrderId
impl Display for ClientOrderId
impl Eq for ClientOrderId
Source§impl From<&str> for ClientOrderId
impl From<&str> for ClientOrderId
Source§impl From<String> for ClientOrderId
impl From<String> for ClientOrderId
Source§impl Hash for ClientOrderId
impl Hash for ClientOrderId
Source§impl Ord for ClientOrderId
impl Ord for ClientOrderId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ClientOrderId
impl PartialEq for ClientOrderId
Source§impl PartialOrd for ClientOrderId
impl PartialOrd for ClientOrderId
impl StructuralPartialEq for ClientOrderId
Auto Trait Implementations§
impl Freeze for ClientOrderId
impl RefUnwindSafe for ClientOrderId
impl Send for ClientOrderId
impl Sync for ClientOrderId
impl Unpin for ClientOrderId
impl UnsafeUnpin for ClientOrderId
impl UnwindSafe for ClientOrderId
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