pub struct ExpectedStat {
pub stat_name: &'static str,
pub tag: Option<&'static str>,
pub value: f64,
pub metric_type: &'static str,
}Expand description
An expected statistic helper method.
Fields§
§stat_name: &'static strStat name E.g. “test_bucket_counter_grouped_freq”
tag: Option<&'static str>Stat tag E.g. Some(“name=name,error=3,bucket=-5”)
value: f64Value of this stat E.g. 0f64
metric_type: &'static strType of metric for this stat E.g. “bucket_counter”
Auto Trait Implementations§
impl Freeze for ExpectedStat
impl RefUnwindSafe for ExpectedStat
impl Send for ExpectedStat
impl Sync for ExpectedStat
impl Unpin for ExpectedStat
impl UnsafeUnpin for ExpectedStat
impl UnwindSafe for ExpectedStat
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