#[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 Freeze for AppInstanceRetentionSettingsBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.