pub struct BenchReportV1 {
pub benchmark_name: String,
pub metrics: HashMap<String, f64>,
pub metadata: Option<HashMap<String, Value>>,
pub retention_days: Option<u32>,
}Expand description
Parameters for bench.report.v1 capability
Fields§
§benchmark_name: StringBenchmark name/identifier
metrics: HashMap<String, f64>Performance metrics to report
metadata: Option<HashMap<String, Value>>Benchmark metadata
retention_days: Option<u32>Historical data retention days (default: 30)
Trait Implementations§
Source§impl Clone for BenchReportV1
impl Clone for BenchReportV1
Source§fn clone(&self) -> BenchReportV1
fn clone(&self) -> BenchReportV1
Returns a duplicate of the value. Read more
1.0.0 · 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 BenchReportV1
impl Debug for BenchReportV1
Source§impl<'de> Deserialize<'de> for BenchReportV1
impl<'de> Deserialize<'de> for BenchReportV1
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 BenchReportV1
impl RefUnwindSafe for BenchReportV1
impl Send for BenchReportV1
impl Sync for BenchReportV1
impl Unpin for BenchReportV1
impl UnwindSafe for BenchReportV1
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