#[non_exhaustive]pub struct ConversationRetentionSettings {
pub retention_days: Option<i32>,
}
Expand description
The retention settings that determine how long to retain conversation messages for an Amazon Chime Enterprise account.
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.retention_days: Option<i32>
The number of days for which to retain conversation messages.
Implementations§
source§impl ConversationRetentionSettings
impl ConversationRetentionSettings
sourcepub fn retention_days(&self) -> Option<i32>
pub fn retention_days(&self) -> Option<i32>
The number of days for which to retain conversation messages.
source§impl ConversationRetentionSettings
impl ConversationRetentionSettings
sourcepub fn builder() -> ConversationRetentionSettingsBuilder
pub fn builder() -> ConversationRetentionSettingsBuilder
Creates a new builder-style object to manufacture ConversationRetentionSettings
.
Trait Implementations§
source§impl Clone for ConversationRetentionSettings
impl Clone for ConversationRetentionSettings
source§fn clone(&self) -> ConversationRetentionSettings
fn clone(&self) -> ConversationRetentionSettings
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 PartialEq for ConversationRetentionSettings
impl PartialEq for ConversationRetentionSettings
source§fn eq(&self, other: &ConversationRetentionSettings) -> bool
fn eq(&self, other: &ConversationRetentionSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConversationRetentionSettings
Auto Trait Implementations§
impl Freeze for ConversationRetentionSettings
impl RefUnwindSafe for ConversationRetentionSettings
impl Send for ConversationRetentionSettings
impl Sync for ConversationRetentionSettings
impl Unpin for ConversationRetentionSettings
impl UnwindSafe for ConversationRetentionSettings
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.