#[non_exhaustive]pub struct ListWorkflowRunsInput {
pub space_name: Option<String>,
pub workflow_id: Option<String>,
pub project_name: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub sort_by: Option<Vec<WorkflowRunSortCriteria>>,
}
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.
workflow_id: Option<String>
The ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows
.
project_name: Option<String>
The name of the project in the space.
next_token: Option<String>
A token returned from a call to this API to indicate the next batch of results to return, if any.
max_results: Option<i32>
The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken
element, which you can use to obtain additional results.
sort_by: Option<Vec<WorkflowRunSortCriteria>>
Information used to sort the items in the returned list.
Implementations§
source§impl ListWorkflowRunsInput
impl ListWorkflowRunsInput
sourcepub fn space_name(&self) -> Option<&str>
pub fn space_name(&self) -> Option<&str>
The name of the space.
sourcepub fn workflow_id(&self) -> Option<&str>
pub fn workflow_id(&self) -> Option<&str>
The ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows
.
sourcepub fn project_name(&self) -> Option<&str>
pub fn project_name(&self) -> Option<&str>
The name of the project in the space.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token returned from a call to this API to indicate the next batch of results to return, if any.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken
element, which you can use to obtain additional results.
sourcepub fn sort_by(&self) -> &[WorkflowRunSortCriteria]
pub fn sort_by(&self) -> &[WorkflowRunSortCriteria]
Information used to sort the items in the returned list.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sort_by.is_none()
.
source§impl ListWorkflowRunsInput
impl ListWorkflowRunsInput
sourcepub fn builder() -> ListWorkflowRunsInputBuilder
pub fn builder() -> ListWorkflowRunsInputBuilder
Creates a new builder-style object to manufacture ListWorkflowRunsInput
.
Trait Implementations§
source§impl Clone for ListWorkflowRunsInput
impl Clone for ListWorkflowRunsInput
source§fn clone(&self) -> ListWorkflowRunsInput
fn clone(&self) -> ListWorkflowRunsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListWorkflowRunsInput
impl Debug for ListWorkflowRunsInput
source§impl PartialEq for ListWorkflowRunsInput
impl PartialEq for ListWorkflowRunsInput
source§fn eq(&self, other: &ListWorkflowRunsInput) -> bool
fn eq(&self, other: &ListWorkflowRunsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListWorkflowRunsInput
Auto Trait Implementations§
impl Freeze for ListWorkflowRunsInput
impl RefUnwindSafe for ListWorkflowRunsInput
impl Send for ListWorkflowRunsInput
impl Sync for ListWorkflowRunsInput
impl Unpin for ListWorkflowRunsInput
impl UnwindSafe for ListWorkflowRunsInput
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