#[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) -> Option<&[NotificationOutput]>
pub fn notifications(&self) -> Option<&[NotificationOutput]>
The results of the ListNotifications
action.
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.