pub struct HyperlightMetricDefinition {
pub name: &'static str,
pub help: &'static str,
pub metric_type: HyperlightMetricType,
pub labels: &'static [&'static str],
pub buckets: &'static [f64],
}Expand description
The definition of a Hyperlight metric
Fields§
§name: &'static strThe name of the metric
help: &'static strThe help text for the metric
metric_type: HyperlightMetricTypeThe type of the metric
labels: &'static [&'static str]The labels for the metric
buckets: &'static [f64]The buckets for the metric
Auto Trait Implementations§
impl Freeze for HyperlightMetricDefinition
impl RefUnwindSafe for HyperlightMetricDefinition
impl Send for HyperlightMetricDefinition
impl Sync for HyperlightMetricDefinition
impl Unpin for HyperlightMetricDefinition
impl UnwindSafe for HyperlightMetricDefinition
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