pub struct WithExecutionReportPositionImpact<T> {
pub inner: T,
pub position_impact: ExecutionReportPositionImpact,
}Expand description
Adds position impact parameters reported by the execution.
No #[non_exhaustive]: these are client-facing convenience structs meant to be constructed via
struct literals from external crates.
Fields§
§inner: T§position_impact: ExecutionReportPositionImpactTrait Implementations§
Source§impl<T: Clone> Clone for WithExecutionReportPositionImpact<T>
impl<T: Clone> Clone for WithExecutionReportPositionImpact<T>
Source§fn clone(&self) -> WithExecutionReportPositionImpact<T>
fn clone(&self) -> WithExecutionReportPositionImpact<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for WithExecutionReportPositionImpact<T>
impl<T: Debug> Debug for WithExecutionReportPositionImpact<T>
Source§impl<T> HasExecutionReportPositionEffect for WithExecutionReportPositionImpact<T>
impl<T> HasExecutionReportPositionEffect for WithExecutionReportPositionImpact<T>
fn position_effect(&self) -> Option<PositionEffect>
Source§impl<T> HasExecutionReportPositionSide for WithExecutionReportPositionImpact<T>
impl<T> HasExecutionReportPositionSide for WithExecutionReportPositionImpact<T>
fn position_side(&self) -> Option<PositionSide>
Source§impl<T: PartialEq> PartialEq for WithExecutionReportPositionImpact<T>
impl<T: PartialEq> PartialEq for WithExecutionReportPositionImpact<T>
Source§fn eq(&self, other: &WithExecutionReportPositionImpact<T>) -> bool
fn eq(&self, other: &WithExecutionReportPositionImpact<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T: Eq> Eq for WithExecutionReportPositionImpact<T>
impl<T> StructuralPartialEq for WithExecutionReportPositionImpact<T>
Auto Trait Implementations§
impl<T> Freeze for WithExecutionReportPositionImpact<T>where
T: Freeze,
impl<T> RefUnwindSafe for WithExecutionReportPositionImpact<T>where
T: RefUnwindSafe,
impl<T> Send for WithExecutionReportPositionImpact<T>where
T: Send,
impl<T> Sync for WithExecutionReportPositionImpact<T>where
T: Sync,
impl<T> Unpin for WithExecutionReportPositionImpact<T>where
T: Unpin,
impl<T> UnsafeUnpin for WithExecutionReportPositionImpact<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for WithExecutionReportPositionImpact<T>where
T: UnwindSafe,
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