pub struct SubmitOrderWithRiskRequest<'a, V: Venue, P: ExecutionEventPort> {
pub command: &'a ControlCommand,
pub venue: &'a mut V,
pub pipeline: &'a mut P,
pub worker_id: &'a str,
pub now: u64,
pub source_seq: &'a mut u64,
pub context: &'a RiskExecutionContext<'a>,
pub spread_store: Option<&'a dyn SpreadOrderGroupStore>,
}Expand description
Required inputs for the shared order submission boundary. The group store stays explicit so a caller cannot accidentally bypass the multi-leg barrier.
Fields§
§command: &'a ControlCommand§venue: &'a mut V§pipeline: &'a mut P§worker_id: &'a str§now: u64§source_seq: &'a mut u64§context: &'a RiskExecutionContext<'a>§spread_store: Option<&'a dyn SpreadOrderGroupStore>Auto Trait Implementations§
impl<'a, V, P> !RefUnwindSafe for SubmitOrderWithRiskRequest<'a, V, P>
impl<'a, V, P> !Send for SubmitOrderWithRiskRequest<'a, V, P>
impl<'a, V, P> !Sync for SubmitOrderWithRiskRequest<'a, V, P>
impl<'a, V, P> !UnwindSafe for SubmitOrderWithRiskRequest<'a, V, P>
impl<'a, V, P> Forget for SubmitOrderWithRiskRequest<'a, V, P>
impl<'a, V, P> Freeze for SubmitOrderWithRiskRequest<'a, V, P>where
&'a ControlCommand: Freeze,
&'a mut V: Freeze,
&'a mut P: Freeze,
&'a str: Freeze,
&'a mut u64: Freeze,
&'a RiskExecutionContext<'a>: Freeze,
&'a dyn SpreadOrderGroupStore: Freeze,
impl<'a, V, P> Move for SubmitOrderWithRiskRequest<'a, V, P>
impl<'a, V, P> Unpin for SubmitOrderWithRiskRequest<'a, V, P>where
&'a ControlCommand: Unpin,
&'a mut V: Unpin,
&'a mut P: Unpin,
&'a str: Unpin,
&'a mut u64: Unpin,
&'a RiskExecutionContext<'a>: Unpin,
&'a dyn SpreadOrderGroupStore: Unpin,
impl<'a, V, P> UnsafeUnpin for SubmitOrderWithRiskRequest<'a, V, P>where
&'a ControlCommand: UnsafeUnpin,
&'a mut V: UnsafeUnpin,
&'a mut P: UnsafeUnpin,
&'a str: UnsafeUnpin,
&'a mut u64: UnsafeUnpin,
&'a RiskExecutionContext<'a>: UnsafeUnpin,
&'a dyn SpreadOrderGroupStore: UnsafeUnpin,
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