pub struct FailureReplay {
pub action_id: u32,
pub action_name: String,
pub seed: u64,
pub tier: String,
pub input_trace: Vec<TimestampedInput>,
pub failure_frame: usize,
pub assertion: String,
pub expected: String,
pub actual: String,
pub state_snapshot: GameStateSnapshot,
pub timestamp: String,
}Expand description
Failure replay artifact for deterministic reproduction
Fields§
§action_id: u32Test action ID (1-100)
action_name: StringTest name
seed: u64Random seed that caused failure
tier: StringMonte Carlo config used
input_trace: Vec<TimestampedInput>Complete input trace
failure_frame: usizeFrame at which assertion failed
assertion: StringAssertion that failed
expected: StringExpected value
actual: StringActual value
state_snapshot: GameStateSnapshotFull game state at failure
timestamp: StringTimestamp
Implementations§
Trait Implementations§
Source§impl Clone for FailureReplay
impl Clone for FailureReplay
Source§fn clone(&self) -> FailureReplay
fn clone(&self) -> FailureReplay
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FailureReplay
impl Debug for FailureReplay
Source§impl<'de> Deserialize<'de> for FailureReplay
impl<'de> Deserialize<'de> for FailureReplay
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
Auto Trait Implementations§
impl Freeze for FailureReplay
impl RefUnwindSafe for FailureReplay
impl Send for FailureReplay
impl Sync for FailureReplay
impl Unpin for FailureReplay
impl UnwindSafe for FailureReplay
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more