#[non_exhaustive]pub struct ListNotificationsOutput {
pub notifications: Option<Vec<NotificationOutput>>,
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.notifications: Option<Vec<NotificationOutput>>The results of the ListNotifications action.
next_token: Option<String>When the number of notifications 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 notifications, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListNotifications to list the next set of notifications.
Implementations§
source§impl ListNotificationsOutput
impl ListNotificationsOutput
sourcepub fn notifications(&self) -> &[NotificationOutput]
pub fn notifications(&self) -> &[NotificationOutput]
The results of the ListNotifications action.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .notifications.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
When the number of notifications 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 notifications, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListNotifications to list the next set of notifications.
source§impl ListNotificationsOutput
impl ListNotificationsOutput
sourcepub fn builder() -> ListNotificationsOutputBuilder
pub fn builder() -> ListNotificationsOutputBuilder
Creates a new builder-style object to manufacture ListNotificationsOutput.
Trait Implementations§
source§impl Clone for ListNotificationsOutput
impl Clone for ListNotificationsOutput
source§fn clone(&self) -> ListNotificationsOutput
fn clone(&self) -> ListNotificationsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListNotificationsOutput
impl Debug for ListNotificationsOutput
source§impl PartialEq for ListNotificationsOutput
impl PartialEq for ListNotificationsOutput
source§fn eq(&self, other: &ListNotificationsOutput) -> bool
fn eq(&self, other: &ListNotificationsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for ListNotificationsOutput
impl RequestId for ListNotificationsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for ListNotificationsOutput
Auto Trait Implementations§
impl Freeze for ListNotificationsOutput
impl RefUnwindSafe for ListNotificationsOutput
impl Send for ListNotificationsOutput
impl Sync for ListNotificationsOutput
impl Unpin for ListNotificationsOutput
impl UnwindSafe for ListNotificationsOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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