Struct canbench_rs::BenchResult
source · pub struct BenchResult {
pub total: Measurement,
pub scopes: BTreeMap<String, Measurement>,
}Expand description
The results of a benchmark.
Fields§
§total: MeasurementA measurement for the entire duration of the benchmark.
scopes: BTreeMap<String, Measurement>Measurements for scopes.
Trait Implementations§
source§impl CandidType for BenchResult
impl CandidType for BenchResult
source§impl Debug for BenchResult
impl Debug for BenchResult
source§impl<'de> Deserialize<'de> for BenchResult
impl<'de> Deserialize<'de> for BenchResult
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 BenchResult
impl PartialEq for BenchResult
source§fn eq(&self, other: &BenchResult) -> bool
fn eq(&self, other: &BenchResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for BenchResult
impl Serialize for BenchResult
impl StructuralPartialEq for BenchResult
Auto Trait Implementations§
impl RefUnwindSafe for BenchResult
impl Send for BenchResult
impl Sync for BenchResult
impl Unpin for BenchResult
impl UnwindSafe for BenchResult
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