#[non_exhaustive]pub struct FlowTemplateDescription {
pub summary: Option<FlowTemplateSummary>,
pub definition: Option<DefinitionDocument>,
pub validated_namespace_version: Option<i64>,
}
Expand description
An object that contains a workflow's definition and summary information.
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.summary: Option<FlowTemplateSummary>
An object that contains summary information about a workflow.
definition: Option<DefinitionDocument>
A workflow's definition document.
validated_namespace_version: Option<i64>
The version of the user's namespace against which the workflow was validated. Use this value in your system instance.
Implementations§
source§impl FlowTemplateDescription
impl FlowTemplateDescription
sourcepub fn summary(&self) -> Option<&FlowTemplateSummary>
pub fn summary(&self) -> Option<&FlowTemplateSummary>
An object that contains summary information about a workflow.
sourcepub fn definition(&self) -> Option<&DefinitionDocument>
pub fn definition(&self) -> Option<&DefinitionDocument>
A workflow's definition document.
sourcepub fn validated_namespace_version(&self) -> Option<i64>
pub fn validated_namespace_version(&self) -> Option<i64>
The version of the user's namespace against which the workflow was validated. Use this value in your system instance.
source§impl FlowTemplateDescription
impl FlowTemplateDescription
sourcepub fn builder() -> FlowTemplateDescriptionBuilder
pub fn builder() -> FlowTemplateDescriptionBuilder
Creates a new builder-style object to manufacture FlowTemplateDescription
.
Trait Implementations§
source§impl Clone for FlowTemplateDescription
impl Clone for FlowTemplateDescription
source§fn clone(&self) -> FlowTemplateDescription
fn clone(&self) -> FlowTemplateDescription
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 FlowTemplateDescription
impl Debug for FlowTemplateDescription
source§impl PartialEq for FlowTemplateDescription
impl PartialEq for FlowTemplateDescription
source§fn eq(&self, other: &FlowTemplateDescription) -> bool
fn eq(&self, other: &FlowTemplateDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FlowTemplateDescription
Auto Trait Implementations§
impl Freeze for FlowTemplateDescription
impl RefUnwindSafe for FlowTemplateDescription
impl Send for FlowTemplateDescription
impl Sync for FlowTemplateDescription
impl Unpin for FlowTemplateDescription
impl UnwindSafe for FlowTemplateDescription
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>
Creates a shared type from an unshared type.