Struct aws_sdk_autoscaling::operation::describe_traffic_sources::DescribeTrafficSourcesOutput
source · #[non_exhaustive]pub struct DescribeTrafficSourcesOutput {
pub traffic_sources: Option<Vec<TrafficSourceState>>,
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.traffic_sources: Option<Vec<TrafficSourceState>>Information about the traffic sources.
next_token: Option<String>This string 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 DescribeTrafficSourcesOutput
impl DescribeTrafficSourcesOutput
sourcepub fn traffic_sources(&self) -> &[TrafficSourceState]
pub fn traffic_sources(&self) -> &[TrafficSourceState]
Information about the traffic sources.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .traffic_sources.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
This string 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 DescribeTrafficSourcesOutput
impl DescribeTrafficSourcesOutput
sourcepub fn builder() -> DescribeTrafficSourcesOutputBuilder
pub fn builder() -> DescribeTrafficSourcesOutputBuilder
Creates a new builder-style object to manufacture DescribeTrafficSourcesOutput.
Trait Implementations§
source§impl Clone for DescribeTrafficSourcesOutput
impl Clone for DescribeTrafficSourcesOutput
source§fn clone(&self) -> DescribeTrafficSourcesOutput
fn clone(&self) -> DescribeTrafficSourcesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeTrafficSourcesOutput
impl Debug for DescribeTrafficSourcesOutput
source§impl PartialEq for DescribeTrafficSourcesOutput
impl PartialEq for DescribeTrafficSourcesOutput
source§fn eq(&self, other: &DescribeTrafficSourcesOutput) -> bool
fn eq(&self, other: &DescribeTrafficSourcesOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeTrafficSourcesOutput
impl RequestId for DescribeTrafficSourcesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.