Struct aws_sdk_computeoptimizer::operation::get_ebs_volume_recommendations::GetEbsVolumeRecommendationsOutput
source · #[non_exhaustive]pub struct GetEbsVolumeRecommendationsOutput {
pub next_token: Option<String>,
pub volume_recommendations: Option<Vec<VolumeRecommendation>>,
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 use to advance to the next page of volume recommendations.
This value is null when there are no more pages of volume recommendations to return.
volume_recommendations: Option<Vec<VolumeRecommendation>>
An array of objects that describe volume recommendations.
errors: Option<Vec<GetRecommendationError>>
An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an unsupported volume.
Implementations§
source§impl GetEbsVolumeRecommendationsOutput
impl GetEbsVolumeRecommendationsOutput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to use to advance to the next page of volume recommendations.
This value is null when there are no more pages of volume recommendations to return.
sourcepub fn volume_recommendations(&self) -> &[VolumeRecommendation]
pub fn volume_recommendations(&self) -> &[VolumeRecommendation]
An array of objects that describe volume 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 .volume_recommendations.is_none()
.
sourcepub fn errors(&self) -> &[GetRecommendationError]
pub fn errors(&self) -> &[GetRecommendationError]
An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an unsupported volume.
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 GetEbsVolumeRecommendationsOutput
impl GetEbsVolumeRecommendationsOutput
sourcepub fn builder() -> GetEbsVolumeRecommendationsOutputBuilder
pub fn builder() -> GetEbsVolumeRecommendationsOutputBuilder
Creates a new builder-style object to manufacture GetEbsVolumeRecommendationsOutput
.
Trait Implementations§
source§impl Clone for GetEbsVolumeRecommendationsOutput
impl Clone for GetEbsVolumeRecommendationsOutput
source§fn clone(&self) -> GetEbsVolumeRecommendationsOutput
fn clone(&self) -> GetEbsVolumeRecommendationsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetEbsVolumeRecommendationsOutput
impl PartialEq for GetEbsVolumeRecommendationsOutput
source§fn eq(&self, other: &GetEbsVolumeRecommendationsOutput) -> bool
fn eq(&self, other: &GetEbsVolumeRecommendationsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetEbsVolumeRecommendationsOutput
impl RequestId for GetEbsVolumeRecommendationsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetEbsVolumeRecommendationsOutput
Auto Trait Implementations§
impl Freeze for GetEbsVolumeRecommendationsOutput
impl RefUnwindSafe for GetEbsVolumeRecommendationsOutput
impl Send for GetEbsVolumeRecommendationsOutput
impl Sync for GetEbsVolumeRecommendationsOutput
impl Unpin for GetEbsVolumeRecommendationsOutput
impl UnwindSafe for GetEbsVolumeRecommendationsOutput
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