Struct aws_sdk_chime::operation::batch_create_channel_membership::BatchCreateChannelMembershipInput
source · #[non_exhaustive]pub struct BatchCreateChannelMembershipInput {
pub channel_arn: Option<String>,
pub type: Option<ChannelMembershipType>,
pub member_arns: Option<Vec<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 to which you're adding users.
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. This is only supported by moderators.
member_arns: Option<Vec<String>>
The ARNs of the members you want to add to the channel.
chime_bearer: Option<String>
The AppInstanceUserArn
of the user that makes the API call.
Implementations§
source§impl BatchCreateChannelMembershipInput
impl BatchCreateChannelMembershipInput
sourcepub fn channel_arn(&self) -> Option<&str>
pub fn channel_arn(&self) -> Option<&str>
The ARN of the channel to which you're adding users.
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. This is only supported by moderators.
sourcepub fn member_arns(&self) -> &[String]
pub fn member_arns(&self) -> &[String]
The ARNs of the members you want to add to the channel.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .member_arns.is_none()
.
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 BatchCreateChannelMembershipInput
impl BatchCreateChannelMembershipInput
sourcepub fn builder() -> BatchCreateChannelMembershipInputBuilder
pub fn builder() -> BatchCreateChannelMembershipInputBuilder
Creates a new builder-style object to manufacture BatchCreateChannelMembershipInput
.
Trait Implementations§
source§impl Clone for BatchCreateChannelMembershipInput
impl Clone for BatchCreateChannelMembershipInput
source§fn clone(&self) -> BatchCreateChannelMembershipInput
fn clone(&self) -> BatchCreateChannelMembershipInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BatchCreateChannelMembershipInput
impl PartialEq for BatchCreateChannelMembershipInput
source§fn eq(&self, other: &BatchCreateChannelMembershipInput) -> bool
fn eq(&self, other: &BatchCreateChannelMembershipInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchCreateChannelMembershipInput
Auto Trait Implementations§
impl Freeze for BatchCreateChannelMembershipInput
impl RefUnwindSafe for BatchCreateChannelMembershipInput
impl Send for BatchCreateChannelMembershipInput
impl Sync for BatchCreateChannelMembershipInput
impl Unpin for BatchCreateChannelMembershipInput
impl UnwindSafe for BatchCreateChannelMembershipInput
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