#[non_exhaustive]pub struct PrimaryAnalysis {
pub metric: String,
pub kind: MetricKind,
pub direction: MetricDirection,
pub control_units: u64,
pub variant_units: u64,
pub ready: bool,
pub effect: EffectEstimate,
pub evidence: Evidence,
}Expand description
The analysis of the primary metric at one look (spec 3.5 §7.12).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.metric: StringThe metric’s id.
kind: MetricKindHow the metric is measured.
direction: MetricDirectionWhich way the metric improves.
control_units: u64Units in the control.
variant_units: u64Units in the variant.
ready: boolWhether both arms reached the minimum units, so the test may decide.
effect: EffectEstimateThe variant’s effect.
evidence: EvidenceThe evidence for a decision.
Trait Implementations§
Source§impl Clone for PrimaryAnalysis
impl Clone for PrimaryAnalysis
Source§impl Debug for PrimaryAnalysis
impl Debug for PrimaryAnalysis
Source§impl<'de> Deserialize<'de> for PrimaryAnalysis
impl<'de> Deserialize<'de> for PrimaryAnalysis
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
Source§impl PartialEq for PrimaryAnalysis
impl PartialEq for PrimaryAnalysis
Source§impl Serialize for PrimaryAnalysis
impl Serialize for PrimaryAnalysis
impl StructuralPartialEq for PrimaryAnalysis
Auto Trait Implementations§
impl Forget for PrimaryAnalysis
impl Freeze for PrimaryAnalysis
impl Move for PrimaryAnalysis
impl RefUnwindSafe for PrimaryAnalysis
impl Send for PrimaryAnalysiswhere
RawVecInner: Send,
impl Sync for PrimaryAnalysiswhere
RawVecInner: Sync,
impl Unpin for PrimaryAnalysis
impl UnsafeUnpin for PrimaryAnalysis
impl UnwindSafe for PrimaryAnalysiswhere
RawVecInner: 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