#[non_exhaustive]pub struct GetExperimentResultsInput {
pub project: Option<String>,
pub experiment: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub metric_names: Option<Vec<String>>,
pub treatment_names: Option<Vec<String>>,
pub base_stat: Option<ExperimentBaseStat>,
pub result_stats: Option<Vec<ExperimentResultRequestType>>,
pub report_names: Option<Vec<ExperimentReportName>>,
pub period: Option<i64>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.project: Option<String>
The name or ARN of the project that contains the experiment that you want to see the results of.
experiment: Option<String>
The name of the experiment to retrieve the results of.
start_time: Option<DateTime>
The date and time that the experiment started.
end_time: Option<DateTime>
The date and time that the experiment ended, if it is completed. This must be no longer than 30 days after the experiment start time.
metric_names: Option<Vec<String>>
The names of the experiment metrics that you want to see the results of.
treatment_names: Option<Vec<String>>
The names of the experiment treatments that you want to see the results for.
base_stat: Option<ExperimentBaseStat>
The statistic used to calculate experiment results. Currently the only valid value is mean
, which uses the mean of the collected values as the statistic.
result_stats: Option<Vec<ExperimentResultRequestType>>
The statistics that you want to see in the returned results.
-
PValue
specifies to use p-values for the results. A p-value is used in hypothesis testing to measure how often you are willing to make a mistake in rejecting the null hypothesis. A general practice is to reject the null hypothesis and declare that the results are statistically significant when the p-value is less than 0.05. -
ConfidenceInterval
specifies a confidence interval for the results. The confidence interval represents the range of values for the chosen metric that is likely to contain the true difference between thebaseStat
of a variation and the baseline. Evidently returns the 95% confidence interval. -
TreatmentEffect
is the difference in the statistic specified by thebaseStat
parameter between each variation and the default variation. -
BaseStat
returns the statistical values collected for the metric for each variation. The statistic uses the same statistic specified in thebaseStat
parameter. Therefore, ifbaseStat
ismean
, this returns the mean of the values collected for each variation.
report_names: Option<Vec<ExperimentReportName>>
The names of the report types that you want to see. Currently, BayesianInference
is the only valid value.
period: Option<i64>
In seconds, the amount of time to aggregate results together.
Implementations§
source§impl GetExperimentResultsInput
impl GetExperimentResultsInput
sourcepub fn project(&self) -> Option<&str>
pub fn project(&self) -> Option<&str>
The name or ARN of the project that contains the experiment that you want to see the results of.
sourcepub fn experiment(&self) -> Option<&str>
pub fn experiment(&self) -> Option<&str>
The name of the experiment to retrieve the results of.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The date and time that the experiment started.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The date and time that the experiment ended, if it is completed. This must be no longer than 30 days after the experiment start time.
sourcepub fn metric_names(&self) -> &[String]
pub fn metric_names(&self) -> &[String]
The names of the experiment metrics that you want to see the results of.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .metric_names.is_none()
.
sourcepub fn treatment_names(&self) -> &[String]
pub fn treatment_names(&self) -> &[String]
The names of the experiment treatments that you want to see the results for.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .treatment_names.is_none()
.
sourcepub fn base_stat(&self) -> Option<&ExperimentBaseStat>
pub fn base_stat(&self) -> Option<&ExperimentBaseStat>
The statistic used to calculate experiment results. Currently the only valid value is mean
, which uses the mean of the collected values as the statistic.
sourcepub fn result_stats(&self) -> &[ExperimentResultRequestType]
pub fn result_stats(&self) -> &[ExperimentResultRequestType]
The statistics that you want to see in the returned results.
-
PValue
specifies to use p-values for the results. A p-value is used in hypothesis testing to measure how often you are willing to make a mistake in rejecting the null hypothesis. A general practice is to reject the null hypothesis and declare that the results are statistically significant when the p-value is less than 0.05. -
ConfidenceInterval
specifies a confidence interval for the results. The confidence interval represents the range of values for the chosen metric that is likely to contain the true difference between thebaseStat
of a variation and the baseline. Evidently returns the 95% confidence interval. -
TreatmentEffect
is the difference in the statistic specified by thebaseStat
parameter between each variation and the default variation. -
BaseStat
returns the statistical values collected for the metric for each variation. The statistic uses the same statistic specified in thebaseStat
parameter. Therefore, ifbaseStat
ismean
, this returns the mean of the values collected for each variation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .result_stats.is_none()
.
sourcepub fn report_names(&self) -> &[ExperimentReportName]
pub fn report_names(&self) -> &[ExperimentReportName]
The names of the report types that you want to see. Currently, BayesianInference
is the only valid value.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .report_names.is_none()
.
source§impl GetExperimentResultsInput
impl GetExperimentResultsInput
sourcepub fn builder() -> GetExperimentResultsInputBuilder
pub fn builder() -> GetExperimentResultsInputBuilder
Creates a new builder-style object to manufacture GetExperimentResultsInput
.
Trait Implementations§
source§impl Clone for GetExperimentResultsInput
impl Clone for GetExperimentResultsInput
source§fn clone(&self) -> GetExperimentResultsInput
fn clone(&self) -> GetExperimentResultsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetExperimentResultsInput
impl Debug for GetExperimentResultsInput
source§impl PartialEq for GetExperimentResultsInput
impl PartialEq for GetExperimentResultsInput
source§fn eq(&self, other: &GetExperimentResultsInput) -> bool
fn eq(&self, other: &GetExperimentResultsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetExperimentResultsInput
Auto Trait Implementations§
impl Freeze for GetExperimentResultsInput
impl RefUnwindSafe for GetExperimentResultsInput
impl Send for GetExperimentResultsInput
impl Sync for GetExperimentResultsInput
impl Unpin for GetExperimentResultsInput
impl UnwindSafe for GetExperimentResultsInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more