Enum aws_sdk_apptest::types::StepRunSummary
source · #[non_exhaustive]pub enum StepRunSummary {
CompareAction(CompareActionSummary),
MainframeAction(MainframeActionSummary),
ResourceAction(ResourceActionSummary),
Unknown,
}
Expand description
Defines the step run summary.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
CompareAction(CompareActionSummary)
The compare action of the step run summary.
MainframeAction(MainframeActionSummary)
The mainframe action of the step run summary.
ResourceAction(ResourceActionSummary)
The resource action of the step run summary.
Unknown
The Unknown
variant represents cases where new union variant was received. Consider upgrading the SDK to the latest available version.
An unknown enum variant
Note: If you encounter this error, consider upgrading your SDK to the latest version.
The Unknown
variant represents cases where the server sent a value that wasn’t recognized
by the client. This can happen when the server adds new functionality, but the client has not been updated.
To investigate this, consider turning on debug logging to print the raw HTTP response.
Implementations§
source§impl StepRunSummary
impl StepRunSummary
sourcepub fn as_compare_action(&self) -> Result<&CompareActionSummary, &Self>
pub fn as_compare_action(&self) -> Result<&CompareActionSummary, &Self>
Tries to convert the enum instance into CompareAction
, extracting the inner CompareActionSummary
.
Returns Err(&Self)
if it can’t be converted.
sourcepub fn is_compare_action(&self) -> bool
pub fn is_compare_action(&self) -> bool
Returns true if this is a CompareAction
.
sourcepub fn as_mainframe_action(&self) -> Result<&MainframeActionSummary, &Self>
pub fn as_mainframe_action(&self) -> Result<&MainframeActionSummary, &Self>
Tries to convert the enum instance into MainframeAction
, extracting the inner MainframeActionSummary
.
Returns Err(&Self)
if it can’t be converted.
sourcepub fn is_mainframe_action(&self) -> bool
pub fn is_mainframe_action(&self) -> bool
Returns true if this is a MainframeAction
.
sourcepub fn as_resource_action(&self) -> Result<&ResourceActionSummary, &Self>
pub fn as_resource_action(&self) -> Result<&ResourceActionSummary, &Self>
Tries to convert the enum instance into ResourceAction
, extracting the inner ResourceActionSummary
.
Returns Err(&Self)
if it can’t be converted.
sourcepub fn is_resource_action(&self) -> bool
pub fn is_resource_action(&self) -> bool
Returns true if this is a ResourceAction
.
sourcepub fn is_unknown(&self) -> bool
pub fn is_unknown(&self) -> bool
Returns true if the enum instance is the Unknown
variant.
Trait Implementations§
source§impl Clone for StepRunSummary
impl Clone for StepRunSummary
source§fn clone(&self) -> StepRunSummary
fn clone(&self) -> StepRunSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StepRunSummary
impl Debug for StepRunSummary
source§impl PartialEq for StepRunSummary
impl PartialEq for StepRunSummary
source§fn eq(&self, other: &StepRunSummary) -> bool
fn eq(&self, other: &StepRunSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StepRunSummary
Auto Trait Implementations§
impl Freeze for StepRunSummary
impl RefUnwindSafe for StepRunSummary
impl Send for StepRunSummary
impl Sync for StepRunSummary
impl Unpin for StepRunSummary
impl UnwindSafe for StepRunSummary
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