pub struct MetricDef {
pub name: &'static str,
pub owner: AnalysisSet,
pub analyzer: AnalyzerId,
pub doc: &'static str,
}Expand description
Definition of one measured value exposed by content reports.
Fields§
§name: &'static strStable report key.
owner: AnalysisSetRequestable unit that owns the value’s presence.
analyzer: AnalyzerIdAnalyzer dialect that defines the value.
doc: &'static strShort semantic definition.
Trait Implementations§
impl Copy for MetricDef
impl Eq for MetricDef
impl StructuralPartialEq for MetricDef
Auto Trait Implementations§
impl Freeze for MetricDef
impl RefUnwindSafe for MetricDef
impl Send for MetricDef
impl Sync for MetricDef
impl Unpin for MetricDef
impl UnsafeUnpin for MetricDef
impl UnwindSafe for MetricDef
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