pub struct StreamGoldenFixtureReport {
pub path: String,
pub format: Symbol,
pub packet_count: usize,
pub final_stats: StreamStats,
}Expand description
Outcome of validating a cassette against the golden-fixture rules.
Returned by StreamCassette::validate_golden_fixture once a cassette
passes every fixture invariant; records where the fixture lives, its format
symbol, the packet count, and the final stats.
Fields§
§path: StringValidated fixture path under STREAM_CASSETTE_FIXTURE_ROOT.
format: SymbolCassette format symbol the fixture was written with.
packet_count: usizeNumber of envelopes the fixture contains.
final_stats: StreamStatsFinal accumulated stats captured at the end of the trace.
Trait Implementations§
Source§impl Clone for StreamGoldenFixtureReport
impl Clone for StreamGoldenFixtureReport
Source§fn clone(&self) -> StreamGoldenFixtureReport
fn clone(&self) -> StreamGoldenFixtureReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StreamGoldenFixtureReport
impl Debug for StreamGoldenFixtureReport
impl Eq for StreamGoldenFixtureReport
Source§impl PartialEq for StreamGoldenFixtureReport
impl PartialEq for StreamGoldenFixtureReport
Source§fn eq(&self, other: &StreamGoldenFixtureReport) -> bool
fn eq(&self, other: &StreamGoldenFixtureReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamGoldenFixtureReport
Auto Trait Implementations§
impl Freeze for StreamGoldenFixtureReport
impl RefUnwindSafe for StreamGoldenFixtureReport
impl Send for StreamGoldenFixtureReport
impl Sync for StreamGoldenFixtureReport
impl Unpin for StreamGoldenFixtureReport
impl UnsafeUnpin for StreamGoldenFixtureReport
impl UnwindSafe for StreamGoldenFixtureReport
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