Struct aws_sdk_chime::types::ChannelMembership
source · #[non_exhaustive]pub struct ChannelMembership {
pub invited_by: Option<Identity>,
pub type: Option<ChannelMembershipType>,
pub member: Option<Identity>,
pub channel_arn: Option<String>,
pub created_timestamp: Option<DateTime>,
pub last_updated_timestamp: Option<DateTime>,
}
Expand description
The details of a channel member.
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 type set for the channel member.
member: Option<Identity>
The data of the channel member.
channel_arn: Option<String>
The ARN of the member's channel.
created_timestamp: Option<DateTime>
The time at which the channel membership was created.
last_updated_timestamp: Option<DateTime>
The time at which a channel membership was last updated.
Implementations§
source§impl ChannelMembership
impl ChannelMembership
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 type set for the channel member.
sourcepub fn channel_arn(&self) -> Option<&str>
pub fn channel_arn(&self) -> Option<&str>
The ARN of the member's channel.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The time at which the channel membership was created.
sourcepub fn last_updated_timestamp(&self) -> Option<&DateTime>
pub fn last_updated_timestamp(&self) -> Option<&DateTime>
The time at which a channel membership was last updated.
source§impl ChannelMembership
impl ChannelMembership
sourcepub fn builder() -> ChannelMembershipBuilder
pub fn builder() -> ChannelMembershipBuilder
Creates a new builder-style object to manufacture ChannelMembership
.
Trait Implementations§
source§impl Clone for ChannelMembership
impl Clone for ChannelMembership
source§fn clone(&self) -> ChannelMembership
fn clone(&self) -> ChannelMembership
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 ChannelMembership
impl Debug for ChannelMembership
source§impl PartialEq for ChannelMembership
impl PartialEq for ChannelMembership
source§fn eq(&self, other: &ChannelMembership) -> bool
fn eq(&self, other: &ChannelMembership) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChannelMembership
Auto Trait Implementations§
impl Freeze for ChannelMembership
impl RefUnwindSafe for ChannelMembership
impl Send for ChannelMembership
impl Sync for ChannelMembership
impl Unpin for ChannelMembership
impl UnwindSafe for ChannelMembership
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.