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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[EcsServiceRecommendation]>
pub fn ecs_service_recommendations(&self) -> Option<&[EcsServiceRecommendation]>
An array of objects that describe the Amazon ECS service recommendations.
sourcepub fn errors(&self) -> Option<&[GetRecommendationError]>
pub fn errors(&self) -> Option<&[GetRecommendationError]>
An array of objects that describe errors of the request.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for GetEcsServiceRecommendationsOutput
impl PartialEq for GetEcsServiceRecommendationsOutput
source§fn eq(&self, other: &GetEcsServiceRecommendationsOutput) -> bool
fn eq(&self, other: &GetEcsServiceRecommendationsOutput) -> bool
This method tests for
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>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for GetEcsServiceRecommendationsOutput
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more