#[non_exhaustive]pub struct ListChannelMembershipsInput {
pub channel_arn: Option<String>,
pub type: Option<ChannelMembershipType>,
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 maximum number of channel memberships that you want returned.
type: Option<ChannelMembershipType>
The membership type of a user, DEFAULT
or HIDDEN
. Default members are always returned as part of ListChannelMemberships
. Hidden members are only returned if the type filter in ListChannelMemberships
equals HIDDEN
. Otherwise hidden members are not returned.
max_results: Option<i32>
The maximum number of channel memberships that you want returned.
next_token: Option<String>
The token passed by previous API calls until all requested channel memberships are returned.
chime_bearer: Option<String>
The AppInstanceUserArn
of the user that makes the API call.
Implementations§
source§impl ListChannelMembershipsInput
impl ListChannelMembershipsInput
sourcepub fn channel_arn(&self) -> Option<&str>
pub fn channel_arn(&self) -> Option<&str>
The maximum number of channel memberships that you want returned.
sourcepub fn type(&self) -> Option<&ChannelMembershipType>
pub fn type(&self) -> Option<&ChannelMembershipType>
The membership type of a user, DEFAULT
or HIDDEN
. Default members are always returned as part of ListChannelMemberships
. Hidden members are only returned if the type filter in ListChannelMemberships
equals HIDDEN
. Otherwise hidden members are not returned.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of channel memberships 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 channel memberships 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 ListChannelMembershipsInput
impl ListChannelMembershipsInput
sourcepub fn builder() -> ListChannelMembershipsInputBuilder
pub fn builder() -> ListChannelMembershipsInputBuilder
Creates a new builder-style object to manufacture ListChannelMembershipsInput
.
Trait Implementations§
source§impl Clone for ListChannelMembershipsInput
impl Clone for ListChannelMembershipsInput
source§fn clone(&self) -> ListChannelMembershipsInput
fn clone(&self) -> ListChannelMembershipsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListChannelMembershipsInput
impl Debug for ListChannelMembershipsInput
source§impl PartialEq for ListChannelMembershipsInput
impl PartialEq for ListChannelMembershipsInput
source§fn eq(&self, other: &ListChannelMembershipsInput) -> bool
fn eq(&self, other: &ListChannelMembershipsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListChannelMembershipsInput
Auto Trait Implementations§
impl Freeze for ListChannelMembershipsInput
impl RefUnwindSafe for ListChannelMembershipsInput
impl Send for ListChannelMembershipsInput
impl Sync for ListChannelMembershipsInput
impl Unpin for ListChannelMembershipsInput
impl UnwindSafe for ListChannelMembershipsInput
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