pub struct BenchmarkReceipt {
pub schema_version: String,
pub subject: String,
pub thresholds: MetricThresholds,
pub scenarios: Vec<ScenarioReceipt>,
pub metrics: MetricCounts,
pub summary: ReceiptSummary,
}Fields§
§schema_version: String§subject: String§thresholds: MetricThresholds§scenarios: Vec<ScenarioReceipt>§metrics: MetricCounts§summary: ReceiptSummaryImplementations§
Source§impl BenchmarkReceipt
impl BenchmarkReceipt
pub fn new(subject: impl Into<String>, thresholds: MetricThresholds) -> Self
Trait Implementations§
Source§impl Clone for BenchmarkReceipt
impl Clone for BenchmarkReceipt
Source§fn clone(&self) -> BenchmarkReceipt
fn clone(&self) -> BenchmarkReceipt
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 BenchmarkReceipt
impl Debug for BenchmarkReceipt
Source§impl<'de> Deserialize<'de> for BenchmarkReceipt
impl<'de> Deserialize<'de> for BenchmarkReceipt
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 BenchmarkReceipt
impl RefUnwindSafe for BenchmarkReceipt
impl Send for BenchmarkReceipt
impl Sync for BenchmarkReceipt
impl Unpin for BenchmarkReceipt
impl UnsafeUnpin for BenchmarkReceipt
impl UnwindSafe for BenchmarkReceipt
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