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.