pub struct SimulationSnapshot {Show 38 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>,
/* 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>Trait Implementations§
Source§impl Clone for SimulationSnapshot
impl Clone for SimulationSnapshot
Source§impl Debug for SimulationSnapshot
impl Debug for SimulationSnapshot
Source§impl<'de> Deserialize<'de> for SimulationSnapshot
impl<'de> Deserialize<'de> for SimulationSnapshot
Source§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
Source§impl PartialEq for SimulationSnapshot
impl PartialEq for SimulationSnapshot
Source§impl Serialize for SimulationSnapshot
impl Serialize for SimulationSnapshot
impl StructuralPartialEq for SimulationSnapshot
Auto Trait Implementations§
impl Freeze for SimulationSnapshot
impl RefUnwindSafe for SimulationSnapshot
impl Send for SimulationSnapshot
impl Sync for SimulationSnapshot
impl Unpin for SimulationSnapshot
impl UnsafeUnpin for SimulationSnapshot
impl UnwindSafe for SimulationSnapshot
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