#[non_exhaustive]pub struct StreamConfigurationSessionBackup {
pub mode: Option<SessionBackupMode>,
pub max_backups_to_retain: i32,
}Expand description
Configures how streaming sessions are backed up when launched from this launch profile.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mode: Option<SessionBackupMode>Specifies how artists sessions are backed up.
Configures backups for streaming sessions launched with this launch profile. The default value is DEACTIVATED, which means that backups are deactivated. To allow backups, set this value to AUTOMATIC.
max_backups_to_retain: i32The maximum number of backups that each streaming session created from this launch profile can have.
Implementations§
source§impl StreamConfigurationSessionBackup
impl StreamConfigurationSessionBackup
sourcepub fn mode(&self) -> Option<&SessionBackupMode>
pub fn mode(&self) -> Option<&SessionBackupMode>
Specifies how artists sessions are backed up.
Configures backups for streaming sessions launched with this launch profile. The default value is DEACTIVATED, which means that backups are deactivated. To allow backups, set this value to AUTOMATIC.
sourcepub fn max_backups_to_retain(&self) -> i32
pub fn max_backups_to_retain(&self) -> i32
The maximum number of backups that each streaming session created from this launch profile can have.
source§impl StreamConfigurationSessionBackup
impl StreamConfigurationSessionBackup
sourcepub fn builder() -> StreamConfigurationSessionBackupBuilder
pub fn builder() -> StreamConfigurationSessionBackupBuilder
Creates a new builder-style object to manufacture StreamConfigurationSessionBackup.
Trait Implementations§
source§impl Clone for StreamConfigurationSessionBackup
impl Clone for StreamConfigurationSessionBackup
source§fn clone(&self) -> StreamConfigurationSessionBackup
fn clone(&self) -> StreamConfigurationSessionBackup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for StreamConfigurationSessionBackup
impl PartialEq for StreamConfigurationSessionBackup
source§fn eq(&self, other: &StreamConfigurationSessionBackup) -> bool
fn eq(&self, other: &StreamConfigurationSessionBackup) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamConfigurationSessionBackup
Auto Trait Implementations§
impl Freeze for StreamConfigurationSessionBackup
impl RefUnwindSafe for StreamConfigurationSessionBackup
impl Send for StreamConfigurationSessionBackup
impl Sync for StreamConfigurationSessionBackup
impl Unpin for StreamConfigurationSessionBackup
impl UnwindSafe for StreamConfigurationSessionBackup
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more