#[non_exhaustive]pub struct AppInstanceRetentionSettingsBuilder { /* private fields */ }Expand description
A builder for AppInstanceRetentionSettings.
Implementations§
source§impl AppInstanceRetentionSettingsBuilder
impl AppInstanceRetentionSettingsBuilder
sourcepub fn channel_retention_settings(self, input: ChannelRetentionSettings) -> Self
pub fn channel_retention_settings(self, input: ChannelRetentionSettings) -> Self
The length of time in days to retain the messages in a channel.
sourcepub fn set_channel_retention_settings(
self,
input: Option<ChannelRetentionSettings>
) -> Self
pub fn set_channel_retention_settings( self, input: Option<ChannelRetentionSettings> ) -> Self
The length of time in days to retain the messages in a channel.
sourcepub fn get_channel_retention_settings(
&self
) -> &Option<ChannelRetentionSettings>
pub fn get_channel_retention_settings( &self ) -> &Option<ChannelRetentionSettings>
The length of time in days to retain the messages in a channel.
sourcepub fn build(self) -> AppInstanceRetentionSettings
pub fn build(self) -> AppInstanceRetentionSettings
Consumes the builder and constructs a AppInstanceRetentionSettings.
Trait Implementations§
source§impl Clone for AppInstanceRetentionSettingsBuilder
impl Clone for AppInstanceRetentionSettingsBuilder
source§fn clone(&self) -> AppInstanceRetentionSettingsBuilder
fn clone(&self) -> AppInstanceRetentionSettingsBuilder
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 Default for AppInstanceRetentionSettingsBuilder
impl Default for AppInstanceRetentionSettingsBuilder
source§fn default() -> AppInstanceRetentionSettingsBuilder
fn default() -> AppInstanceRetentionSettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AppInstanceRetentionSettingsBuilder
impl PartialEq for AppInstanceRetentionSettingsBuilder
source§fn eq(&self, other: &AppInstanceRetentionSettingsBuilder) -> bool
fn eq(&self, other: &AppInstanceRetentionSettingsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AppInstanceRetentionSettingsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AppInstanceRetentionSettingsBuilder
impl Send for AppInstanceRetentionSettingsBuilder
impl Sync for AppInstanceRetentionSettingsBuilder
impl Unpin for AppInstanceRetentionSettingsBuilder
impl UnwindSafe for AppInstanceRetentionSettingsBuilder
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.