Struct Checkpoint
pub struct Checkpoint {
pub checkpoint_id: Uuid,
pub up_to_seq: u64,
pub state_hash: String,
pub snapshot: Vec<u8>,
pub retiring_order_targets_by_command: BTreeMap<CommandId, BTreeSet<OrderId>>,
pub direct_retiring_order_ids: BTreeSet<OrderId>,
pub terminal_order_attribution: BTreeMap<OrderId, TerminalOrderAttribution>,
}Expand description
§8.14 — Snapshot for accelerated replay.
Fields§
§checkpoint_id: Uuid§up_to_seq: u64§state_hash: String§snapshot: Vec<u8>§retiring_order_targets_by_command: BTreeMap<CommandId, BTreeSet<OrderId>>Cancel / CancelAll retirement snapshots that must survive checkpoint-accelerated replay skips.
direct_retiring_order_ids: BTreeSet<OrderId>Direct-cancel retirement markers that must survive checkpoint resumes until venue truth or a terminal OrderState clears them.
terminal_order_attribution: BTreeMap<OrderId, TerminalOrderAttribution>Late-terminal order attribution that must survive checkpoint resumes so late fills can be correctly attributed after direct retirement.
Trait Implementations§
§impl Clone for Checkpoint
impl Clone for Checkpoint
§fn clone(&self) -> Checkpoint
fn clone(&self) -> Checkpoint
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for Checkpoint
impl Debug for Checkpoint
§impl<'de> Deserialize<'de> for Checkpoint
impl<'de> Deserialize<'de> for Checkpoint
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for Checkpoint
impl Serialize for Checkpoint
Auto Trait Implementations§
impl Freeze for Checkpoint
impl RefUnwindSafe for Checkpoint
impl Send for Checkpoint
impl Sync for Checkpoint
impl Unpin for Checkpoint
impl UnsafeUnpin for Checkpoint
impl UnwindSafe for Checkpoint
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)