#[non_exhaustive]pub struct ApplicationRestoreConfiguration {
pub application_restore_type: ApplicationRestoreType,
pub snapshot_name: Option<String>,
}Expand description
Specifies the method and snapshot to use when restarting an application using previously saved application state.
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.application_restore_type: ApplicationRestoreTypeSpecifies how the application should be restored.
snapshot_name: Option<String>The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if RESTORE_FROM_CUSTOM_SNAPSHOT is specified for the ApplicationRestoreType.
Implementations§
source§impl ApplicationRestoreConfiguration
impl ApplicationRestoreConfiguration
sourcepub fn application_restore_type(&self) -> &ApplicationRestoreType
pub fn application_restore_type(&self) -> &ApplicationRestoreType
Specifies how the application should be restored.
sourcepub fn snapshot_name(&self) -> Option<&str>
pub fn snapshot_name(&self) -> Option<&str>
The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if RESTORE_FROM_CUSTOM_SNAPSHOT is specified for the ApplicationRestoreType.
source§impl ApplicationRestoreConfiguration
impl ApplicationRestoreConfiguration
sourcepub fn builder() -> ApplicationRestoreConfigurationBuilder
pub fn builder() -> ApplicationRestoreConfigurationBuilder
Creates a new builder-style object to manufacture ApplicationRestoreConfiguration.
Trait Implementations§
source§impl Clone for ApplicationRestoreConfiguration
impl Clone for ApplicationRestoreConfiguration
source§fn clone(&self) -> ApplicationRestoreConfiguration
fn clone(&self) -> ApplicationRestoreConfiguration
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 ApplicationRestoreConfiguration
impl PartialEq for ApplicationRestoreConfiguration
source§fn eq(&self, other: &ApplicationRestoreConfiguration) -> bool
fn eq(&self, other: &ApplicationRestoreConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ApplicationRestoreConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for ApplicationRestoreConfiguration
impl Send for ApplicationRestoreConfiguration
impl Sync for ApplicationRestoreConfiguration
impl Unpin for ApplicationRestoreConfiguration
impl UnwindSafe for ApplicationRestoreConfiguration
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.