pub struct HedgeRecoveryOutcome {
pub group: SpreadOrderGroup,
pub attempted: usize,
pub completed: bool,
pub errors: Vec<String>,
}Expand description
Explicit recovery result for a spread group whose confirmed exposure needs
to be offset. The worker never submits a hedge for an unknown original
leg; that case remains ReconcileRequired and must be resolved by the
venue reconciliation flow first.
Fields§
§group: SpreadOrderGroup§attempted: usize§completed: bool§errors: Vec<String>Trait Implementations§
Source§impl Clone for HedgeRecoveryOutcome
impl Clone for HedgeRecoveryOutcome
Auto Trait Implementations§
impl Forget for HedgeRecoveryOutcome
impl Freeze for HedgeRecoveryOutcomewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SpreadOrderLeg>: Freeze,
*const LeafNode<String, SpreadHedgeProgress> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SpreadHedgeProgress)>>: Freeze,
PhantomData<String>: Freeze,
impl Move for HedgeRecoveryOutcome
impl RefUnwindSafe for HedgeRecoveryOutcome
impl Send for HedgeRecoveryOutcomewhere
RawVecInner: Send,
NodeRef<Owned, String, SpreadHedgeProgress, LeafOrInternal>: Send,
BoxRaw<(String, SpreadHedgeProgress)>: Send,
impl Sync for HedgeRecoveryOutcomewhere
RawVecInner: Sync,
NodeRef<Owned, String, SpreadHedgeProgress, LeafOrInternal>: Sync,
BoxRaw<(String, SpreadHedgeProgress)>: Sync,
impl Unpin for HedgeRecoveryOutcome
impl UnsafeUnpin for HedgeRecoveryOutcomewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SpreadOrderLeg>: UnsafeUnpin,
*const LeafNode<String, SpreadHedgeProgress> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SpreadHedgeProgress)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for HedgeRecoveryOutcome
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