#[non_exhaustive]pub struct ListSubscriptionsOutput {
pub items: Vec<SubscriptionSummary>,
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.items: Vec<SubscriptionSummary>The results of the ListSubscriptions action.
next_token: Option<String>When the number of subscriptions is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of subscriptions, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListSubscriptions to list the next set of subscriptions.
Implementations§
source§impl ListSubscriptionsOutput
impl ListSubscriptionsOutput
sourcepub fn items(&self) -> &[SubscriptionSummary]
pub fn items(&self) -> &[SubscriptionSummary]
The results of the ListSubscriptions action.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
When the number of subscriptions is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of subscriptions, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListSubscriptions to list the next set of subscriptions.
source§impl ListSubscriptionsOutput
impl ListSubscriptionsOutput
sourcepub fn builder() -> ListSubscriptionsOutputBuilder
pub fn builder() -> ListSubscriptionsOutputBuilder
Creates a new builder-style object to manufacture ListSubscriptionsOutput.
Trait Implementations§
source§impl Clone for ListSubscriptionsOutput
impl Clone for ListSubscriptionsOutput
source§fn clone(&self) -> ListSubscriptionsOutput
fn clone(&self) -> ListSubscriptionsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListSubscriptionsOutput
impl Debug for ListSubscriptionsOutput
source§impl PartialEq for ListSubscriptionsOutput
impl PartialEq for ListSubscriptionsOutput
source§fn eq(&self, other: &ListSubscriptionsOutput) -> bool
fn eq(&self, other: &ListSubscriptionsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for ListSubscriptionsOutput
impl RequestId for ListSubscriptionsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for ListSubscriptionsOutput
Auto Trait Implementations§
impl Freeze for ListSubscriptionsOutput
impl RefUnwindSafe for ListSubscriptionsOutput
impl Send for ListSubscriptionsOutput
impl Sync for ListSubscriptionsOutput
impl Unpin for ListSubscriptionsOutput
impl UnwindSafe for ListSubscriptionsOutput
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