#[non_exhaustive]pub struct CreateRecipeInput {
pub description: Option<String>,
pub name: Option<String>,
pub steps: Option<Vec<RecipeStep>>,
pub tags: Option<HashMap<String, String>>,
}
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.description: Option<String>
A description for the recipe.
name: Option<String>
A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
steps: Option<Vec<RecipeStep>>
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
Metadata tags to apply to this recipe.
Implementations§
source§impl CreateRecipeInput
impl CreateRecipeInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the recipe.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
sourcepub fn steps(&self) -> &[RecipeStep]
pub fn steps(&self) -> &[RecipeStep]
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .steps.is_none()
.
Metadata tags to apply to this recipe.
source§impl CreateRecipeInput
impl CreateRecipeInput
sourcepub fn builder() -> CreateRecipeInputBuilder
pub fn builder() -> CreateRecipeInputBuilder
Creates a new builder-style object to manufacture CreateRecipeInput
.
Trait Implementations§
source§impl Clone for CreateRecipeInput
impl Clone for CreateRecipeInput
source§fn clone(&self) -> CreateRecipeInput
fn clone(&self) -> CreateRecipeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRecipeInput
impl Debug for CreateRecipeInput
source§impl PartialEq for CreateRecipeInput
impl PartialEq for CreateRecipeInput
source§fn eq(&self, other: &CreateRecipeInput) -> bool
fn eq(&self, other: &CreateRecipeInput) -> bool
self
and other
values to be equal, and is used
by ==
.