Struct aws_sdk_batch::operation::describe_compute_environments::DescribeComputeEnvironmentsOutput
source · #[non_exhaustive]pub struct DescribeComputeEnvironmentsOutput {
pub compute_environments: Option<Vec<ComputeEnvironmentDetail>>,
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.compute_environments: Option<Vec<ComputeEnvironmentDetail>>
The list of compute environments.
next_token: Option<String>
The nextToken
value to include in a future DescribeComputeEnvironments
request. When the results of a DescribeComputeEnvironments
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 DescribeComputeEnvironmentsOutput
impl DescribeComputeEnvironmentsOutput
sourcepub fn compute_environments(&self) -> &[ComputeEnvironmentDetail]
pub fn compute_environments(&self) -> &[ComputeEnvironmentDetail]
The list of compute environments.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .compute_environments.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The nextToken
value to include in a future DescribeComputeEnvironments
request. When the results of a DescribeComputeEnvironments
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 DescribeComputeEnvironmentsOutput
impl DescribeComputeEnvironmentsOutput
sourcepub fn builder() -> DescribeComputeEnvironmentsOutputBuilder
pub fn builder() -> DescribeComputeEnvironmentsOutputBuilder
Creates a new builder-style object to manufacture DescribeComputeEnvironmentsOutput
.
Trait Implementations§
source§impl Clone for DescribeComputeEnvironmentsOutput
impl Clone for DescribeComputeEnvironmentsOutput
source§fn clone(&self) -> DescribeComputeEnvironmentsOutput
fn clone(&self) -> DescribeComputeEnvironmentsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeComputeEnvironmentsOutput
impl PartialEq for DescribeComputeEnvironmentsOutput
source§fn eq(&self, other: &DescribeComputeEnvironmentsOutput) -> bool
fn eq(&self, other: &DescribeComputeEnvironmentsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeComputeEnvironmentsOutput
impl RequestId for DescribeComputeEnvironmentsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.