Struct aws_sdk_chime::types::RetentionSettings
source · #[non_exhaustive]pub struct RetentionSettings { /* private fields */ }Expand description
The retention settings for an Amazon Chime Enterprise account that determine how long to retain items such as chat-room messages and chat-conversation messages.
Implementations§
source§impl RetentionSettings
impl RetentionSettings
sourcepub fn room_retention_settings(&self) -> Option<&RoomRetentionSettings>
pub fn room_retention_settings(&self) -> Option<&RoomRetentionSettings>
The chat room retention settings.
sourcepub fn conversation_retention_settings(
&self
) -> Option<&ConversationRetentionSettings>
pub fn conversation_retention_settings( &self ) -> Option<&ConversationRetentionSettings>
The chat conversation retention settings.
source§impl RetentionSettings
impl RetentionSettings
sourcepub fn builder() -> RetentionSettingsBuilder
pub fn builder() -> RetentionSettingsBuilder
Creates a new builder-style object to manufacture RetentionSettings.
Trait Implementations§
source§impl Clone for RetentionSettings
impl Clone for RetentionSettings
source§fn clone(&self) -> RetentionSettings
fn clone(&self) -> RetentionSettings
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 RetentionSettings
impl Debug for RetentionSettings
source§impl PartialEq<RetentionSettings> for RetentionSettings
impl PartialEq<RetentionSettings> for RetentionSettings
source§fn eq(&self, other: &RetentionSettings) -> bool
fn eq(&self, other: &RetentionSettings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RetentionSettings
Auto Trait Implementations§
impl RefUnwindSafe for RetentionSettings
impl Send for RetentionSettings
impl Sync for RetentionSettings
impl Unpin for RetentionSettings
impl UnwindSafe for RetentionSettings
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