#[non_exhaustive]pub struct UpdateFlowTemplateInput {
pub id: Option<String>,
pub definition: Option<DefinitionDocument>,
pub compatible_namespace_version: Option<i64>,
}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.id: Option<String>The ID of the workflow to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
definition: Option<DefinitionDocument>The DefinitionDocument that contains the updated workflow definition.
compatible_namespace_version: Option<i64>The version of the user's namespace.
If no value is specified, the latest version is used by default. Use the GetFlowTemplateRevisions if you want to find earlier revisions of the flow to update.
Implementations§
source§impl UpdateFlowTemplateInput
impl UpdateFlowTemplateInput
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The ID of the workflow to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
sourcepub fn definition(&self) -> Option<&DefinitionDocument>
pub fn definition(&self) -> Option<&DefinitionDocument>
The DefinitionDocument that contains the updated workflow definition.
sourcepub fn compatible_namespace_version(&self) -> Option<i64>
pub fn compatible_namespace_version(&self) -> Option<i64>
The version of the user's namespace.
If no value is specified, the latest version is used by default. Use the GetFlowTemplateRevisions if you want to find earlier revisions of the flow to update.
source§impl UpdateFlowTemplateInput
impl UpdateFlowTemplateInput
sourcepub fn builder() -> UpdateFlowTemplateInputBuilder
pub fn builder() -> UpdateFlowTemplateInputBuilder
Creates a new builder-style object to manufacture UpdateFlowTemplateInput.
Trait Implementations§
source§impl Clone for UpdateFlowTemplateInput
impl Clone for UpdateFlowTemplateInput
source§fn clone(&self) -> UpdateFlowTemplateInput
fn clone(&self) -> UpdateFlowTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateFlowTemplateInput
impl Debug for UpdateFlowTemplateInput
source§impl PartialEq for UpdateFlowTemplateInput
impl PartialEq for UpdateFlowTemplateInput
source§fn eq(&self, other: &UpdateFlowTemplateInput) -> bool
fn eq(&self, other: &UpdateFlowTemplateInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateFlowTemplateInput
Auto Trait Implementations§
impl Freeze for UpdateFlowTemplateInput
impl RefUnwindSafe for UpdateFlowTemplateInput
impl Send for UpdateFlowTemplateInput
impl Sync for UpdateFlowTemplateInput
impl Unpin for UpdateFlowTemplateInput
impl UnwindSafe for UpdateFlowTemplateInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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