#[non_exhaustive]pub struct UpdateExperimentTemplateActionInputItem {
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>>,
}Expand description
Specifies an action for an experiment template.
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.action_id: Option<String>The ID of the action.
description: Option<String>A description for the action.
parameters: Option<HashMap<String, String>>The parameters for the action, if applicable.
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 the current action starts. Omit this parameter to run the action at the start of the experiment.
Implementations§
source§impl UpdateExperimentTemplateActionInputItem
impl UpdateExperimentTemplateActionInputItem
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the action.
sourcepub fn parameters(&self) -> Option<&HashMap<String, String>>
pub fn parameters(&self) -> Option<&HashMap<String, String>>
The parameters for the action, if applicable.
sourcepub fn start_after(&self) -> &[String]
pub fn start_after(&self) -> &[String]
The name of the action that must be completed before the current action starts. Omit this parameter to run the action at the start of the experiment.
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().
source§impl UpdateExperimentTemplateActionInputItem
impl UpdateExperimentTemplateActionInputItem
sourcepub fn builder() -> UpdateExperimentTemplateActionInputItemBuilder
pub fn builder() -> UpdateExperimentTemplateActionInputItemBuilder
Creates a new builder-style object to manufacture UpdateExperimentTemplateActionInputItem.
Trait Implementations§
source§impl Clone for UpdateExperimentTemplateActionInputItem
impl Clone for UpdateExperimentTemplateActionInputItem
source§fn clone(&self) -> UpdateExperimentTemplateActionInputItem
fn clone(&self) -> UpdateExperimentTemplateActionInputItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateExperimentTemplateActionInputItem
impl PartialEq for UpdateExperimentTemplateActionInputItem
source§fn eq(&self, other: &UpdateExperimentTemplateActionInputItem) -> bool
fn eq(&self, other: &UpdateExperimentTemplateActionInputItem) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateExperimentTemplateActionInputItem
Auto Trait Implementations§
impl Freeze for UpdateExperimentTemplateActionInputItem
impl RefUnwindSafe for UpdateExperimentTemplateActionInputItem
impl Send for UpdateExperimentTemplateActionInputItem
impl Sync for UpdateExperimentTemplateActionInputItem
impl Unpin for UpdateExperimentTemplateActionInputItem
impl UnwindSafe for UpdateExperimentTemplateActionInputItem
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