Struct aws_sdk_chime::types::ChannelBan
source · #[non_exhaustive]pub struct ChannelBan {
pub member: Option<Identity>,
pub channel_arn: Option<String>,
pub created_timestamp: Option<DateTime>,
pub created_by: Option<Identity>,
}Expand description
The details of a channel ban.
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.member: Option<Identity>The member being banned from the channel.
channel_arn: Option<String>The ARN of the channel from which a member is being banned.
created_timestamp: Option<DateTime>The time at which the ban was created.
created_by: Option<Identity>The AppInstanceUser who created the ban.
Implementations§
source§impl ChannelBan
impl ChannelBan
sourcepub fn channel_arn(&self) -> Option<&str>
pub fn channel_arn(&self) -> Option<&str>
The ARN of the channel from which a member is being banned.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The time at which the ban was created.
sourcepub fn created_by(&self) -> Option<&Identity>
pub fn created_by(&self) -> Option<&Identity>
The AppInstanceUser who created the ban.
source§impl ChannelBan
impl ChannelBan
sourcepub fn builder() -> ChannelBanBuilder
pub fn builder() -> ChannelBanBuilder
Creates a new builder-style object to manufacture ChannelBan.
Trait Implementations§
source§impl Clone for ChannelBan
impl Clone for ChannelBan
source§fn clone(&self) -> ChannelBan
fn clone(&self) -> ChannelBan
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 ChannelBan
impl Debug for ChannelBan
source§impl PartialEq for ChannelBan
impl PartialEq for ChannelBan
source§fn eq(&self, other: &ChannelBan) -> bool
fn eq(&self, other: &ChannelBan) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ChannelBan
Auto Trait Implementations§
impl RefUnwindSafe for ChannelBan
impl Send for ChannelBan
impl Sync for ChannelBan
impl Unpin for ChannelBan
impl UnwindSafe for ChannelBan
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.