Struct aws_sdk_chime::types::BatchChannelMemberships
source · #[non_exhaustive]pub struct BatchChannelMemberships {
pub invited_by: Option<Identity>,
pub type: Option<ChannelMembershipType>,
pub members: Option<Vec<Identity>>,
pub channel_arn: Option<String>,
}Expand description
The membership information, including member ARNs, the channel ARN, and membership types.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.invited_by: Option<Identity>The identifier of the member who invited another member.
type: Option<ChannelMembershipType>The membership types set for the channel users.
members: Option<Vec<Identity>>The users successfully added to the request.
channel_arn: Option<String>The ARN of the channel to which you're adding users.
Implementations§
source§impl BatchChannelMemberships
impl BatchChannelMemberships
sourcepub fn invited_by(&self) -> Option<&Identity>
pub fn invited_by(&self) -> Option<&Identity>
The identifier of the member who invited another member.
sourcepub fn type(&self) -> Option<&ChannelMembershipType>
pub fn type(&self) -> Option<&ChannelMembershipType>
The membership types set for the channel users.
sourcepub fn members(&self) -> &[Identity]
pub fn members(&self) -> &[Identity]
The users successfully added to the request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .members.is_none().
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.
source§impl BatchChannelMemberships
impl BatchChannelMemberships
sourcepub fn builder() -> BatchChannelMembershipsBuilder
pub fn builder() -> BatchChannelMembershipsBuilder
Creates a new builder-style object to manufacture BatchChannelMemberships.
Trait Implementations§
source§impl Clone for BatchChannelMemberships
impl Clone for BatchChannelMemberships
source§fn clone(&self) -> BatchChannelMemberships
fn clone(&self) -> BatchChannelMemberships
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BatchChannelMemberships
impl Debug for BatchChannelMemberships
source§impl PartialEq for BatchChannelMemberships
impl PartialEq for BatchChannelMemberships
source§fn eq(&self, other: &BatchChannelMemberships) -> bool
fn eq(&self, other: &BatchChannelMemberships) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchChannelMemberships
Auto Trait Implementations§
impl RefUnwindSafe for BatchChannelMemberships
impl Send for BatchChannelMemberships
impl Sync for BatchChannelMemberships
impl Unpin for BatchChannelMemberships
impl UnwindSafe for BatchChannelMemberships
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.