#[non_exhaustive]pub struct StartWorkflowRunInput {
pub space_name: Option<String>,
pub project_name: Option<String>,
pub workflow_id: Option<String>,
pub client_token: Option<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.space_name: Option<String>
The name of the space.
project_name: Option<String>
The name of the project in the space.
workflow_id: Option<String>
The system-generated unique ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows
.
client_token: Option<String>
A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
Implementations§
source§impl StartWorkflowRunInput
impl StartWorkflowRunInput
sourcepub fn space_name(&self) -> Option<&str>
pub fn space_name(&self) -> Option<&str>
The name of the space.
sourcepub fn project_name(&self) -> Option<&str>
pub fn project_name(&self) -> Option<&str>
The name of the project in the space.
sourcepub fn workflow_id(&self) -> Option<&str>
pub fn workflow_id(&self) -> Option<&str>
The system-generated unique ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
source§impl StartWorkflowRunInput
impl StartWorkflowRunInput
sourcepub fn builder() -> StartWorkflowRunInputBuilder
pub fn builder() -> StartWorkflowRunInputBuilder
Creates a new builder-style object to manufacture StartWorkflowRunInput
.
Trait Implementations§
source§impl Clone for StartWorkflowRunInput
impl Clone for StartWorkflowRunInput
source§fn clone(&self) -> StartWorkflowRunInput
fn clone(&self) -> StartWorkflowRunInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartWorkflowRunInput
impl Debug for StartWorkflowRunInput
source§impl PartialEq for StartWorkflowRunInput
impl PartialEq for StartWorkflowRunInput
source§fn eq(&self, other: &StartWorkflowRunInput) -> bool
fn eq(&self, other: &StartWorkflowRunInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartWorkflowRunInput
Auto Trait Implementations§
impl Freeze for StartWorkflowRunInput
impl RefUnwindSafe for StartWorkflowRunInput
impl Send for StartWorkflowRunInput
impl Sync for StartWorkflowRunInput
impl Unpin for StartWorkflowRunInput
impl UnwindSafe for StartWorkflowRunInput
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