Struct CheckpointData
pub struct CheckpointData {
pub run_id: Uuid,
pub up_to_seq: u64,
pub state_hash: String,
pub state: PortfolioState,
}Expand description
Pre-loaded checkpoint state used to skip early events during replay.
Fields§
§run_id: UuidRun identity that this checkpoint belongs to.
up_to_seq: u64The up_to_seq from the Checkpoint event.
state_hash: StringThe expected checkpoint-state hash at the checkpoint boundary, including retirement markers restored from the checkpoint payload.
state: PortfolioStateThe deserialized portfolio state at the checkpoint.
Trait Implementations§
§impl Clone for CheckpointData
impl Clone for CheckpointData
§fn clone(&self) -> CheckpointData
fn clone(&self) -> CheckpointData
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 moreAuto Trait Implementations§
impl Freeze for CheckpointData
impl RefUnwindSafe for CheckpointData
impl Send for CheckpointData
impl Sync for CheckpointData
impl Unpin for CheckpointData
impl UnsafeUnpin for CheckpointData
impl UnwindSafe for CheckpointData
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)