Struct aws_sdk_chime::types::RetentionSettings
source · #[non_exhaustive]pub struct RetentionSettings {
pub room_retention_settings: Option<RoomRetentionSettings>,
pub conversation_retention_settings: Option<ConversationRetentionSettings>,
}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.
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.room_retention_settings: Option<RoomRetentionSettings>The chat room retention settings.
conversation_retention_settings: Option<ConversationRetentionSettings>The chat conversation retention settings.
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 for RetentionSettings
impl PartialEq 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
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.