pub struct SummaryReport<T> {
pub generated_at: String,
pub generated_at_unix: u64,
pub target: T,
pub function: String,
pub iterations: u32,
pub warmup: u32,
pub devices: Vec<String>,
pub device_summaries: Vec<DeviceSummary>,
}Expand description
Canonical compatibility summary consumed by every report adapter.
T is the caller’s platform type. Keeping it generic lets the report
Module remain independent of CLI parsing while preserving the released
serialized target representation.
Fields§
§generated_at: String§generated_at_unix: u64§target: T§function: String§iterations: u32§warmup: u32§devices: Vec<String>§device_summaries: Vec<DeviceSummary>Trait Implementations§
Source§impl<T: Clone> Clone for SummaryReport<T>
impl<T: Clone> Clone for SummaryReport<T>
Source§impl<T: Debug> Debug for SummaryReport<T>
impl<T: Debug> Debug for SummaryReport<T>
Source§impl<'de, T> Deserialize<'de> for SummaryReport<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for SummaryReport<T>where
T: Deserialize<'de>,
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<T> Freeze for SummaryReport<T>where
T: Freeze,
impl<T> RefUnwindSafe for SummaryReport<T>where
T: RefUnwindSafe,
impl<T> Send for SummaryReport<T>where
T: Send,
impl<T> Sync for SummaryReport<T>where
T: Sync,
impl<T> Unpin for SummaryReport<T>where
T: Unpin,
impl<T> UnsafeUnpin for SummaryReport<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SummaryReport<T>where
T: UnwindSafe,
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