pub enum PrivateEvent {
Order(Order),
Fill(Fill),
Balance(Balance),
Position(Position),
Raw {
exchange_id: ExchangeId,
payload: RawPayload,
},
}Variants§
Trait Implementations§
Source§impl Clone for PrivateEvent
impl Clone for PrivateEvent
Source§fn clone(&self) -> PrivateEvent
fn clone(&self) -> PrivateEvent
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 Debug for PrivateEvent
impl Debug for PrivateEvent
Source§impl PartialEq for PrivateEvent
impl PartialEq for PrivateEvent
Source§fn eq(&self, other: &PrivateEvent) -> bool
fn eq(&self, other: &PrivateEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrivateEvent
Auto Trait Implementations§
impl Freeze for PrivateEvent
impl RefUnwindSafe for PrivateEvent
impl Send for PrivateEvent
impl Sync for PrivateEvent
impl Unpin for PrivateEvent
impl UnsafeUnpin for PrivateEvent
impl UnwindSafe for PrivateEvent
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