Struct aws_sdk_deadline::operation::list_workers::ListWorkersOutput
source · #[non_exhaustive]pub struct ListWorkersOutput {
pub next_token: Option<String>,
pub workers: Vec<WorkerSummary>,
/* 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.next_token: Option<String>
If Deadline Cloud returns nextToken
, then there are more results available. The value of nextToken
is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken
is set to null
. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException
error.
workers: Vec<WorkerSummary>
The workers on the list.
Implementations§
source§impl ListWorkersOutput
impl ListWorkersOutput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If Deadline Cloud returns nextToken
, then there are more results available. The value of nextToken
is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken
is set to null
. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException
error.
sourcepub fn workers(&self) -> &[WorkerSummary]
pub fn workers(&self) -> &[WorkerSummary]
The workers on the list.
source§impl ListWorkersOutput
impl ListWorkersOutput
sourcepub fn builder() -> ListWorkersOutputBuilder
pub fn builder() -> ListWorkersOutputBuilder
Creates a new builder-style object to manufacture ListWorkersOutput
.
Trait Implementations§
source§impl Clone for ListWorkersOutput
impl Clone for ListWorkersOutput
source§fn clone(&self) -> ListWorkersOutput
fn clone(&self) -> ListWorkersOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListWorkersOutput
impl Debug for ListWorkersOutput
source§impl PartialEq for ListWorkersOutput
impl PartialEq for ListWorkersOutput
source§fn eq(&self, other: &ListWorkersOutput) -> bool
fn eq(&self, other: &ListWorkersOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListWorkersOutput
impl RequestId for ListWorkersOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.