pub struct SimulationSnapshot {Show 39 fields
pub engine_version: String,
pub snapshot_format_version: u32,
pub run_manifest: Option<RunManifest>,
pub run_manifest_hash: String,
pub run_configuration: Option<RunConfigurationSnapshot>,
pub checkpoint_hash: String,
pub commitment_format_version: u32,
pub commitment_roots: Option<CommitmentRoots>,
pub revision_format_version: u32,
pub state_revision: u64,
pub replay_revision_format_version: u32,
pub admission_cursor_format_version: u32,
pub admitted_attempt_count: u64,
pub admitted_command_count: u64,
pub admitted_event_count: u64,
pub initial_time: SimTime,
pub initial_scenario: Option<Scenario>,
pub now: SimTime,
pub plugin_registration_closed: bool,
pub entities: Vec<EntityRef>,
pub world: WorldSnapshot,
pub person_availability: BTreeMap<PersonId, PersonAvailability>,
pub created_persons: Vec<CreatedPerson>,
pub knowledge: KnowledgeSnapshot,
pub events: Vec<SimEvent>,
pub commands: Vec<CommandRecord>,
pub command_attempts: Vec<CommandAttemptRecord>,
pub ingress: Vec<IngressRecord>,
pub boundaries: Vec<BoundaryRecord>,
pub plugin_components: Vec<PluginComponentRecord>,
pub domain_records: Vec<DomainRecord>,
pub decisions: DecisionState,
pub plugin_descriptors: Vec<PluginDescriptor>,
pub schema: SchemaRegistry,
pub root_seed: u64,
pub authority_root_seed: u64,
pub random_streams: Vec<RandomStreamState>,
pub random_draws: Vec<RandomDrawRecord>,
pub pending_transition_manifests: Vec<PendingTransitionManifest>,
/* private fields */
}Fields§
§engine_version: String§snapshot_format_version: u32§run_manifest: Option<RunManifest>§run_manifest_hash: String§run_configuration: Option<RunConfigurationSnapshot>§checkpoint_hash: String§commitment_format_version: u32Version of the domain-separated checkpoint commitment contract.
commitment_roots: Option<CommitmentRoots>Persisted canonical roots verified before a snapshot becomes live.
revision_format_version: u32Version of the revision and checkpoint sub-contract.
state_revision: u64Monotonic revision after all persisted attempt and boundary transactions.
replay_revision_format_version: u32Revision-evidence format available to exact replay.
admission_cursor_format_version: u32Version of the persisted boundary-admission cursor contract.
admitted_attempt_count: u64Number of command-attempt records consumed by completed boundaries.
admitted_command_count: u64Number of accepted-command records consumed by completed boundaries.
admitted_event_count: u64Number of event records consumed as boundary ingress.
initial_time: SimTime§initial_scenario: Option<Scenario>§now: SimTime§plugin_registration_closed: bool§entities: Vec<EntityRef>§world: WorldSnapshot§person_availability: BTreeMap<PersonId, PersonAvailability>Core person life and custody state; absent persons are alive and free.
created_persons: Vec<CreatedPerson>Runtime-created persons in allocation order.
knowledge: KnowledgeSnapshot§events: Vec<SimEvent>§commands: Vec<CommandRecord>§command_attempts: Vec<CommandAttemptRecord>§ingress: Vec<IngressRecord>§boundaries: Vec<BoundaryRecord>§plugin_components: Vec<PluginComponentRecord>§domain_records: Vec<DomainRecord>§decisions: DecisionState§plugin_descriptors: Vec<PluginDescriptor>§schema: SchemaRegistry§root_seed: u64Authority credential root, intentionally independent from simulation RNG.
random_streams: Vec<RandomStreamState>§random_draws: Vec<RandomDrawRecord>§pending_transition_manifests: Vec<PendingTransitionManifest>Registered transition manifests awaiting their ready boundary, in manifest-ID order.
Trait Implementations§
Source§impl Clone for SimulationSnapshot
impl Clone for SimulationSnapshot
Source§fn clone(&self) -> SimulationSnapshot
fn clone(&self) -> SimulationSnapshot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more