Struct aws_sdk_ecs::operation::list_tasks::ListTasksOutput
source · #[non_exhaustive]pub struct ListTasksOutput {
pub task_arns: Option<Vec<String>>,
pub next_token: Option<String>,
/* private fields */
}
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.task_arns: Option<Vec<String>>
The list of task ARN entries for the ListTasks
request.
next_token: Option<String>
The nextToken
value to include in a future ListTasks
request. When the results of a ListTasks
request exceed maxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
Implementations§
source§impl ListTasksOutput
impl ListTasksOutput
sourcepub fn task_arns(&self) -> &[String]
pub fn task_arns(&self) -> &[String]
The list of task ARN entries for the ListTasks
request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .task_arns.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The nextToken
value to include in a future ListTasks
request. When the results of a ListTasks
request exceed maxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
source§impl ListTasksOutput
impl ListTasksOutput
sourcepub fn builder() -> ListTasksOutputBuilder
pub fn builder() -> ListTasksOutputBuilder
Creates a new builder-style object to manufacture ListTasksOutput
.
Trait Implementations§
source§impl Clone for ListTasksOutput
impl Clone for ListTasksOutput
source§fn clone(&self) -> ListTasksOutput
fn clone(&self) -> ListTasksOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTasksOutput
impl Debug for ListTasksOutput
source§impl PartialEq for ListTasksOutput
impl PartialEq for ListTasksOutput
source§fn eq(&self, other: &ListTasksOutput) -> bool
fn eq(&self, other: &ListTasksOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListTasksOutput
impl RequestId for ListTasksOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.