pub struct PlaybackTimingReport {
pub contract_version: u16,
pub expected_events: usize,
pub actual_events: usize,
pub matched_events: usize,
pub max_start_error_secs: f64,
pub max_duration_error_secs: f64,
pub within_tolerance: bool,
pub mismatches: Vec<PlaybackTimingMismatch>,
}Expand description
Deterministic report for a bounded playback timing comparison.
Fields§
§contract_version: u16§expected_events: usize§actual_events: usize§matched_events: usize§max_start_error_secs: f64§max_duration_error_secs: f64§within_tolerance: bool§mismatches: Vec<PlaybackTimingMismatch>Trait Implementations§
Source§impl Clone for PlaybackTimingReport
impl Clone for PlaybackTimingReport
Source§fn clone(&self) -> PlaybackTimingReport
fn clone(&self) -> PlaybackTimingReport
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 PlaybackTimingReport
impl Debug for PlaybackTimingReport
Source§impl<'de> Deserialize<'de> for PlaybackTimingReport
impl<'de> Deserialize<'de> for PlaybackTimingReport
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 PlaybackTimingReport
impl PartialEq for PlaybackTimingReport
Source§impl Serialize for PlaybackTimingReport
impl Serialize for PlaybackTimingReport
impl StructuralPartialEq for PlaybackTimingReport
Auto Trait Implementations§
impl Freeze for PlaybackTimingReport
impl RefUnwindSafe for PlaybackTimingReport
impl Send for PlaybackTimingReport
impl Sync for PlaybackTimingReport
impl Unpin for PlaybackTimingReport
impl UnsafeUnpin for PlaybackTimingReport
impl UnwindSafe for PlaybackTimingReport
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