pub struct ExperimentResults {
pub experiment_id: String,
pub variant_a: VariantResults,
pub variant_b: VariantResults,
pub winner: Option<String>,
pub computed_at: String,
}Expand description
Computed outcome of an experiment.
Fields§
§experiment_id: StringExperiment id.
variant_a: VariantResultsVariant A metrics.
variant_b: VariantResultsVariant B metrics.
winner: Option<String>"A", "B", "tie", or None when undecided.
computed_at: StringRFC3339 timestamp the results were computed.
Trait Implementations§
Source§impl Clone for ExperimentResults
impl Clone for ExperimentResults
Source§fn clone(&self) -> ExperimentResults
fn clone(&self) -> ExperimentResults
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 ExperimentResults
impl Debug for ExperimentResults
Source§impl<'de> Deserialize<'de> for ExperimentResults
impl<'de> Deserialize<'de> for ExperimentResults
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
Auto Trait Implementations§
impl Freeze for ExperimentResults
impl RefUnwindSafe for ExperimentResults
impl Send for ExperimentResults
impl Sync for ExperimentResults
impl Unpin for ExperimentResults
impl UnsafeUnpin for ExperimentResults
impl UnwindSafe for ExperimentResults
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