Struct aws_sdk_fis::types::ExperimentAction
source · #[non_exhaustive]pub struct ExperimentAction {
pub action_id: Option<String>,
pub description: Option<String>,
pub parameters: Option<HashMap<String, String>>,
pub targets: Option<HashMap<String, String>>,
pub start_after: Option<Vec<String>>,
pub state: Option<ExperimentActionState>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}Expand description
Describes the action for an experiment.
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.action_id: Option<String>The ID of the action.
description: Option<String>The description for the action.
parameters: Option<HashMap<String, String>>The parameters for the action.
targets: Option<HashMap<String, String>>The targets for the action.
start_after: Option<Vec<String>>The name of the action that must be completed before this action starts.
state: Option<ExperimentActionState>The state of the action.
start_time: Option<DateTime>The time that the action started.
end_time: Option<DateTime>The time that the action ended.
Implementations§
source§impl ExperimentAction
impl ExperimentAction
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the action.
sourcepub fn start_after(&self) -> &[String]
pub fn start_after(&self) -> &[String]
The name of the action that must be completed before this action starts.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .start_after.is_none().
sourcepub fn state(&self) -> Option<&ExperimentActionState>
pub fn state(&self) -> Option<&ExperimentActionState>
The state of the action.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time that the action started.
source§impl ExperimentAction
impl ExperimentAction
sourcepub fn builder() -> ExperimentActionBuilder
pub fn builder() -> ExperimentActionBuilder
Creates a new builder-style object to manufacture ExperimentAction.
Trait Implementations§
source§impl Clone for ExperimentAction
impl Clone for ExperimentAction
source§fn clone(&self) -> ExperimentAction
fn clone(&self) -> ExperimentAction
Returns a copy of the value. Read more
1.0.0 · 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 ExperimentAction
impl Debug for ExperimentAction
source§impl PartialEq for ExperimentAction
impl PartialEq for ExperimentAction
source§fn eq(&self, other: &ExperimentAction) -> bool
fn eq(&self, other: &ExperimentAction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExperimentAction
Auto Trait Implementations§
impl Freeze for ExperimentAction
impl RefUnwindSafe for ExperimentAction
impl Send for ExperimentAction
impl Sync for ExperimentAction
impl Unpin for ExperimentAction
impl UnwindSafe for ExperimentAction
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.