Struct aws_sdk_computeoptimizer::operation::get_ecs_service_recommendations::GetEcsServiceRecommendationsOutput
source · #[non_exhaustive]pub struct GetEcsServiceRecommendationsOutput {
pub next_token: Option<String>,
pub ecs_service_recommendations: Option<Vec<EcsServiceRecommendation>>,
pub errors: Option<Vec<GetRecommendationError>>,
/* 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>
The token to advance to the next page of Amazon ECS service recommendations.
ecs_service_recommendations: Option<Vec<EcsServiceRecommendation>>
An array of objects that describe the Amazon ECS service recommendations.
errors: Option<Vec<GetRecommendationError>>
An array of objects that describe errors of the request.
Implementations§
source§impl GetEcsServiceRecommendationsOutput
impl GetEcsServiceRecommendationsOutput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to advance to the next page of Amazon ECS service recommendations.
sourcepub fn ecs_service_recommendations(&self) -> &[EcsServiceRecommendation]
pub fn ecs_service_recommendations(&self) -> &[EcsServiceRecommendation]
An array of objects that describe the Amazon ECS service recommendations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ecs_service_recommendations.is_none()
.
sourcepub fn errors(&self) -> &[GetRecommendationError]
pub fn errors(&self) -> &[GetRecommendationError]
An array of objects that describe errors of the 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 .errors.is_none()
.
source§impl GetEcsServiceRecommendationsOutput
impl GetEcsServiceRecommendationsOutput
sourcepub fn builder() -> GetEcsServiceRecommendationsOutputBuilder
pub fn builder() -> GetEcsServiceRecommendationsOutputBuilder
Creates a new builder-style object to manufacture GetEcsServiceRecommendationsOutput
.
Trait Implementations§
source§impl Clone for GetEcsServiceRecommendationsOutput
impl Clone for GetEcsServiceRecommendationsOutput
source§fn clone(&self) -> GetEcsServiceRecommendationsOutput
fn clone(&self) -> GetEcsServiceRecommendationsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetEcsServiceRecommendationsOutput
impl PartialEq for GetEcsServiceRecommendationsOutput
source§fn eq(&self, other: &GetEcsServiceRecommendationsOutput) -> bool
fn eq(&self, other: &GetEcsServiceRecommendationsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetEcsServiceRecommendationsOutput
impl RequestId for GetEcsServiceRecommendationsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetEcsServiceRecommendationsOutput
Auto Trait Implementations§
impl Freeze for GetEcsServiceRecommendationsOutput
impl RefUnwindSafe for GetEcsServiceRecommendationsOutput
impl Send for GetEcsServiceRecommendationsOutput
impl Sync for GetEcsServiceRecommendationsOutput
impl Unpin for GetEcsServiceRecommendationsOutput
impl UnwindSafe for GetEcsServiceRecommendationsOutput
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