pub enum PositionEvent {
PositionOpened(PositionOpened),
PositionChanged(PositionChanged),
PositionClosed(PositionClosed),
}
Variants§
Implementations§
Source§impl PositionEvent
impl PositionEvent
pub fn instrument_id(&self) -> InstrumentId
pub fn account_id(&self) -> AccountId
Auto Trait Implementations§
impl Freeze for PositionEvent
impl RefUnwindSafe for PositionEvent
impl Send for PositionEvent
impl Sync for PositionEvent
impl Unpin for PositionEvent
impl UnwindSafe for PositionEvent
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