#[non_exhaustive]pub struct ListChannelMessagesInput {
pub channel_arn: Option<String>,
pub sort_order: Option<SortOrder>,
pub not_before: Option<DateTime>,
pub not_after: Option<DateTime>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub chime_bearer: Option<String>,
}
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.channel_arn: Option<String>
The ARN of the channel.
sort_order: Option<SortOrder>
The order in which you want messages sorted. Default is Descending, based on time created.
not_before: Option<DateTime>
The initial or starting time stamp for your requested messages.
not_after: Option<DateTime>
The final or ending time stamp for your requested messages.
max_results: Option<i32>
The maximum number of messages that you want returned.
next_token: Option<String>
The token passed by previous API calls until all requested messages are returned.
chime_bearer: Option<String>
The AppInstanceUserArn
of the user that makes the API call.
Implementations§
source§impl ListChannelMessagesInput
impl ListChannelMessagesInput
sourcepub fn channel_arn(&self) -> Option<&str>
pub fn channel_arn(&self) -> Option<&str>
The ARN of the channel.
sourcepub fn sort_order(&self) -> Option<&SortOrder>
pub fn sort_order(&self) -> Option<&SortOrder>
The order in which you want messages sorted. Default is Descending, based on time created.
sourcepub fn not_before(&self) -> Option<&DateTime>
pub fn not_before(&self) -> Option<&DateTime>
The initial or starting time stamp for your requested messages.
sourcepub fn not_after(&self) -> Option<&DateTime>
pub fn not_after(&self) -> Option<&DateTime>
The final or ending time stamp for your requested messages.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of messages that you want returned.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token passed by previous API calls until all requested messages are returned.
sourcepub fn chime_bearer(&self) -> Option<&str>
pub fn chime_bearer(&self) -> Option<&str>
The AppInstanceUserArn
of the user that makes the API call.
source§impl ListChannelMessagesInput
impl ListChannelMessagesInput
sourcepub fn builder() -> ListChannelMessagesInputBuilder
pub fn builder() -> ListChannelMessagesInputBuilder
Creates a new builder-style object to manufacture ListChannelMessagesInput
.
Trait Implementations§
source§impl Clone for ListChannelMessagesInput
impl Clone for ListChannelMessagesInput
source§fn clone(&self) -> ListChannelMessagesInput
fn clone(&self) -> ListChannelMessagesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListChannelMessagesInput
impl Debug for ListChannelMessagesInput
source§impl PartialEq for ListChannelMessagesInput
impl PartialEq for ListChannelMessagesInput
source§fn eq(&self, other: &ListChannelMessagesInput) -> bool
fn eq(&self, other: &ListChannelMessagesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListChannelMessagesInput
Auto Trait Implementations§
impl Freeze for ListChannelMessagesInput
impl RefUnwindSafe for ListChannelMessagesInput
impl Send for ListChannelMessagesInput
impl Sync for ListChannelMessagesInput
impl Unpin for ListChannelMessagesInput
impl UnwindSafe for ListChannelMessagesInput
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