pub struct Recording {
pub config: LabConfig,
pub scenario_name: String,
pub seed: u64,
pub frame_records: Vec<FrameRecord>,
pub event_log: Vec<EventRecord>,
pub tick_count: u64,
pub run_id: String,
}Expand description
A captured recording of a deterministic scenario run.
Contains the configuration, frame checksums, and event log from a single
run. Can be replayed with Lab::replay to verify determinism.
Fields§
§config: LabConfigConfiguration used for this recording.
scenario_name: StringScenario metadata from the recording run.
seed: u64Seed used for recording.
frame_records: Vec<FrameRecord>Frame checksum records captured during the recording.
event_log: Vec<EventRecord>Event log captured during the recording.
tick_count: u64Number of ticks in the recorded scenario.
run_id: StringRun identifier for the recording.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Recording
impl RefUnwindSafe for Recording
impl Send for Recording
impl Sync for Recording
impl Unpin for Recording
impl UnsafeUnpin for Recording
impl UnwindSafe for Recording
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