Struct aws_sdk_datasync::operation::list_tasks::ListTasksInput
source · #[non_exhaustive]pub struct ListTasksInput {
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub filters: Option<Vec<TaskFilter>>,
}
Expand description
ListTasksRequest
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.max_results: Option<i32>
The maximum number of tasks to return.
next_token: Option<String>
An opaque string that indicates the position at which to begin the next list of tasks.
filters: Option<Vec<TaskFilter>>
You can use API filters to narrow down the list of resources returned by ListTasks
. For example, to retrieve all tasks on a specific source location, you can use ListTasks
with filter name LocationId
and Operator Equals
with the ARN for the location.
Implementations§
source§impl ListTasksInput
impl ListTasksInput
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of tasks to return.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An opaque string that indicates the position at which to begin the next list of tasks.
sourcepub fn filters(&self) -> &[TaskFilter]
pub fn filters(&self) -> &[TaskFilter]
You can use API filters to narrow down the list of resources returned by ListTasks
. For example, to retrieve all tasks on a specific source location, you can use ListTasks
with filter name LocationId
and Operator Equals
with the ARN for the location.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
source§impl ListTasksInput
impl ListTasksInput
sourcepub fn builder() -> ListTasksInputBuilder
pub fn builder() -> ListTasksInputBuilder
Creates a new builder-style object to manufacture ListTasksInput
.
Trait Implementations§
source§impl Clone for ListTasksInput
impl Clone for ListTasksInput
source§fn clone(&self) -> ListTasksInput
fn clone(&self) -> ListTasksInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTasksInput
impl Debug for ListTasksInput
source§impl PartialEq for ListTasksInput
impl PartialEq for ListTasksInput
source§fn eq(&self, other: &ListTasksInput) -> bool
fn eq(&self, other: &ListTasksInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTasksInput
Auto Trait Implementations§
impl Freeze for ListTasksInput
impl RefUnwindSafe for ListTasksInput
impl Send for ListTasksInput
impl Sync for ListTasksInput
impl Unpin for ListTasksInput
impl UnwindSafe for ListTasksInput
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