Struct aws_sdk_autoscaling::operation::describe_scaling_activities::DescribeScalingActivitiesOutput
source · #[non_exhaustive]pub struct DescribeScalingActivitiesOutput {
pub activities: Option<Vec<Activity>>,
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.activities: Option<Vec<Activity>>
The scaling activities. Activities are sorted by start time. Activities still in progress are described first.
next_token: Option<String>
A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken
value when requesting the next set of items. This value is null when there are no more items to return.
Implementations§
source§impl DescribeScalingActivitiesOutput
impl DescribeScalingActivitiesOutput
sourcepub fn activities(&self) -> &[Activity]
pub fn activities(&self) -> &[Activity]
The scaling activities. Activities are sorted by start time. Activities still in progress are described first.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .activities.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken
value when requesting the next set of items. This value is null when there are no more items to return.
source§impl DescribeScalingActivitiesOutput
impl DescribeScalingActivitiesOutput
sourcepub fn builder() -> DescribeScalingActivitiesOutputBuilder
pub fn builder() -> DescribeScalingActivitiesOutputBuilder
Creates a new builder-style object to manufacture DescribeScalingActivitiesOutput
.
Trait Implementations§
source§impl Clone for DescribeScalingActivitiesOutput
impl Clone for DescribeScalingActivitiesOutput
source§fn clone(&self) -> DescribeScalingActivitiesOutput
fn clone(&self) -> DescribeScalingActivitiesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeScalingActivitiesOutput
impl PartialEq for DescribeScalingActivitiesOutput
source§fn eq(&self, other: &DescribeScalingActivitiesOutput) -> bool
fn eq(&self, other: &DescribeScalingActivitiesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeScalingActivitiesOutput
impl RequestId for DescribeScalingActivitiesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeScalingActivitiesOutput
Auto Trait Implementations§
impl Freeze for DescribeScalingActivitiesOutput
impl RefUnwindSafe for DescribeScalingActivitiesOutput
impl Send for DescribeScalingActivitiesOutput
impl Sync for DescribeScalingActivitiesOutput
impl Unpin for DescribeScalingActivitiesOutput
impl UnwindSafe for DescribeScalingActivitiesOutput
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