pub struct DoraMetricEvidence {
pub eligible: usize,
pub observed: usize,
pub sufficient: usize,
pub availability: MetricAvailability,
}Fields§
§eligible: usize§observed: usize§sufficient: usize§availability: MetricAvailabilityImplementations§
Source§impl DoraMetricEvidence
impl DoraMetricEvidence
pub fn from_counts(eligible: usize, observed: usize, sufficient: usize) -> Self
pub fn status(&self) -> MetricEvidenceStatus
Trait Implementations§
Source§impl Clone for DoraMetricEvidence
impl Clone for DoraMetricEvidence
Source§fn clone(&self) -> DoraMetricEvidence
fn clone(&self) -> DoraMetricEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DoraMetricEvidence
impl Debug for DoraMetricEvidence
Source§impl<'de> Deserialize<'de> for DoraMetricEvidence
impl<'de> Deserialize<'de> for DoraMetricEvidence
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
impl Eq for DoraMetricEvidence
Source§impl PartialEq for DoraMetricEvidence
impl PartialEq for DoraMetricEvidence
Source§impl Serialize for DoraMetricEvidence
impl Serialize for DoraMetricEvidence
impl StructuralPartialEq for DoraMetricEvidence
Auto Trait Implementations§
impl Freeze for DoraMetricEvidence
impl RefUnwindSafe for DoraMetricEvidence
impl Send for DoraMetricEvidence
impl Sync for DoraMetricEvidence
impl Unpin for DoraMetricEvidence
impl UnsafeUnpin for DoraMetricEvidence
impl UnwindSafe for DoraMetricEvidence
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