pub struct MetricDescriptor {
pub key: &'static str,
pub display_name: &'static str,
pub version: u32,
pub kind: MetricKind,
pub scope: MetricScope,
pub supports_diff_regression: bool,
pub default_new_findings_rule: NewFindingsRule,
pub required_capability: MetricCapability,
pub numerator_field: &'static str,
}Fields§
§key: &'static str§display_name: &'static str§version: u32§kind: MetricKind§scope: MetricScope§supports_diff_regression: bool§default_new_findings_rule: NewFindingsRule§required_capability: MetricCapability§numerator_field: &'static strTrait Implementations§
Source§impl Clone for MetricDescriptor
impl Clone for MetricDescriptor
impl Copy for MetricDescriptor
Source§impl Debug for MetricDescriptor
impl Debug for MetricDescriptor
impl Eq for MetricDescriptor
Source§impl PartialEq for MetricDescriptor
impl PartialEq for MetricDescriptor
impl StructuralPartialEq for MetricDescriptor
Auto Trait Implementations§
impl Forget for MetricDescriptor
impl Freeze for MetricDescriptor
impl Move for MetricDescriptor
impl RefUnwindSafe for MetricDescriptor
impl Send for MetricDescriptor
impl Sync for MetricDescriptor
impl Unpin for MetricDescriptor
impl UnsafeUnpin for MetricDescriptorwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for MetricDescriptorwhere
&'static str: UnwindSafe,
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