#[non_exhaustive]pub struct CancelFlowExecutionsInput {
pub flow_name: Option<String>,
pub execution_ids: Option<Vec<String>>,
}
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.flow_name: Option<String>
The name of a flow with active runs that you want to cancel.
execution_ids: Option<Vec<String>>
The ID of each active run to cancel. These runs must belong to the flow you specify in your request.
If you omit this parameter, your request ends all active runs that belong to the flow.
Implementations§
source§impl CancelFlowExecutionsInput
impl CancelFlowExecutionsInput
sourcepub fn flow_name(&self) -> Option<&str>
pub fn flow_name(&self) -> Option<&str>
The name of a flow with active runs that you want to cancel.
sourcepub fn execution_ids(&self) -> &[String]
pub fn execution_ids(&self) -> &[String]
The ID of each active run to cancel. These runs must belong to the flow you specify in your request.
If you omit this parameter, your request ends all active runs that belong to the flow.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .execution_ids.is_none()
.
source§impl CancelFlowExecutionsInput
impl CancelFlowExecutionsInput
sourcepub fn builder() -> CancelFlowExecutionsInputBuilder
pub fn builder() -> CancelFlowExecutionsInputBuilder
Creates a new builder-style object to manufacture CancelFlowExecutionsInput
.
Trait Implementations§
source§impl Clone for CancelFlowExecutionsInput
impl Clone for CancelFlowExecutionsInput
source§fn clone(&self) -> CancelFlowExecutionsInput
fn clone(&self) -> CancelFlowExecutionsInput
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 CancelFlowExecutionsInput
impl Debug for CancelFlowExecutionsInput
source§impl PartialEq for CancelFlowExecutionsInput
impl PartialEq for CancelFlowExecutionsInput
source§fn eq(&self, other: &CancelFlowExecutionsInput) -> bool
fn eq(&self, other: &CancelFlowExecutionsInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CancelFlowExecutionsInput
Auto Trait Implementations§
impl RefUnwindSafe for CancelFlowExecutionsInput
impl Send for CancelFlowExecutionsInput
impl Sync for CancelFlowExecutionsInput
impl Unpin for CancelFlowExecutionsInput
impl UnwindSafe for CancelFlowExecutionsInput
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.