#[non_exhaustive]pub struct GetExperimentResultsOutput {
pub results_data: Option<Vec<ExperimentResultsData>>,
pub reports: Option<Vec<ExperimentReport>>,
pub timestamps: Option<Vec<DateTime>>,
pub details: Option<String>,
/* private fields */
}
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.results_data: Option<Vec<ExperimentResultsData>>
An array of structures that include experiment results including metric names and values.
reports: Option<Vec<ExperimentReport>>
An array of structures that include the reports that you requested.
timestamps: Option<Vec<DateTime>>
The timestamps of each result returned.
details: Option<String>
If the experiment doesn't yet have enough events to provide valid results, this field is returned with the message Not enough events to generate results
. If there are enough events to provide valid results, this field is not returned.
Implementations§
source§impl GetExperimentResultsOutput
impl GetExperimentResultsOutput
sourcepub fn results_data(&self) -> &[ExperimentResultsData]
pub fn results_data(&self) -> &[ExperimentResultsData]
An array of structures that include experiment results including metric names and values.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .results_data.is_none()
.
sourcepub fn reports(&self) -> &[ExperimentReport]
pub fn reports(&self) -> &[ExperimentReport]
An array of structures that include the reports that you requested.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .reports.is_none()
.
sourcepub fn timestamps(&self) -> &[DateTime]
pub fn timestamps(&self) -> &[DateTime]
The timestamps of each result returned.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .timestamps.is_none()
.
source§impl GetExperimentResultsOutput
impl GetExperimentResultsOutput
sourcepub fn builder() -> GetExperimentResultsOutputBuilder
pub fn builder() -> GetExperimentResultsOutputBuilder
Creates a new builder-style object to manufacture GetExperimentResultsOutput
.
Trait Implementations§
source§impl Clone for GetExperimentResultsOutput
impl Clone for GetExperimentResultsOutput
source§fn clone(&self) -> GetExperimentResultsOutput
fn clone(&self) -> GetExperimentResultsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetExperimentResultsOutput
impl Debug for GetExperimentResultsOutput
source§impl PartialEq for GetExperimentResultsOutput
impl PartialEq for GetExperimentResultsOutput
source§fn eq(&self, other: &GetExperimentResultsOutput) -> bool
fn eq(&self, other: &GetExperimentResultsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetExperimentResultsOutput
impl RequestId for GetExperimentResultsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetExperimentResultsOutput
Auto Trait Implementations§
impl Freeze for GetExperimentResultsOutput
impl RefUnwindSafe for GetExperimentResultsOutput
impl Send for GetExperimentResultsOutput
impl Sync for GetExperimentResultsOutput
impl Unpin for GetExperimentResultsOutput
impl UnwindSafe for GetExperimentResultsOutput
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