Struct aws_sdk_chime::input::ListChannelMessagesInput
source · [−]#[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
sourceimpl ListChannelMessagesInput
impl ListChannelMessagesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListChannelMessages, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListChannelMessages, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListChannelMessages
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListChannelMessagesInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for ListChannelMessagesInput
impl Clone for ListChannelMessagesInput
sourcefn clone(&self) -> ListChannelMessagesInput
fn clone(&self) -> ListChannelMessagesInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListChannelMessagesInput
impl Debug for ListChannelMessagesInput
sourceimpl PartialEq<ListChannelMessagesInput> for ListChannelMessagesInput
impl PartialEq<ListChannelMessagesInput> for ListChannelMessagesInput
sourcefn eq(&self, other: &ListChannelMessagesInput) -> bool
fn eq(&self, other: &ListChannelMessagesInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListChannelMessagesInput) -> bool
fn ne(&self, other: &ListChannelMessagesInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListChannelMessagesInput
Auto Trait Implementations
impl RefUnwindSafe for ListChannelMessagesInput
impl Send for ListChannelMessagesInput
impl Sync for ListChannelMessagesInput
impl Unpin for ListChannelMessagesInput
impl UnwindSafe for ListChannelMessagesInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more