Struct aws_sdk_databasemigration::types::EngineVersion
source · #[non_exhaustive]pub struct EngineVersion {
pub version: Option<String>,
pub lifecycle: Option<String>,
pub release_status: Option<ReleaseStatusValues>,
pub launch_date: Option<DateTime>,
pub auto_upgrade_date: Option<DateTime>,
pub deprecation_date: Option<DateTime>,
pub force_upgrade_date: Option<DateTime>,
pub available_upgrades: Option<Vec<String>>,
}
Expand description
Provides information about a replication instance version.
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.version: Option<String>
The version number of the replication instance.
lifecycle: Option<String>
The lifecycle status of the replication instance version. Valid values are DEPRECATED
, DEFAULT_VERSION
, and ACTIVE
.
release_status: Option<ReleaseStatusValues>
The release status of the replication instance version.
launch_date: Option<DateTime>
The date when the replication instance version became publicly available.
auto_upgrade_date: Option<DateTime>
The date when the replication instance will be automatically upgraded. This setting only applies if the auto-minor-version
setting is enabled.
deprecation_date: Option<DateTime>
The date when the replication instance version will be deprecated and can no longer be requested.
force_upgrade_date: Option<DateTime>
The date when the replication instance will have a version upgrade forced.
available_upgrades: Option<Vec<String>>
The list of valid replication instance versions that you can upgrade to.
Implementations§
source§impl EngineVersion
impl EngineVersion
sourcepub fn lifecycle(&self) -> Option<&str>
pub fn lifecycle(&self) -> Option<&str>
The lifecycle status of the replication instance version. Valid values are DEPRECATED
, DEFAULT_VERSION
, and ACTIVE
.
sourcepub fn release_status(&self) -> Option<&ReleaseStatusValues>
pub fn release_status(&self) -> Option<&ReleaseStatusValues>
The release status of the replication instance version.
sourcepub fn launch_date(&self) -> Option<&DateTime>
pub fn launch_date(&self) -> Option<&DateTime>
The date when the replication instance version became publicly available.
sourcepub fn auto_upgrade_date(&self) -> Option<&DateTime>
pub fn auto_upgrade_date(&self) -> Option<&DateTime>
The date when the replication instance will be automatically upgraded. This setting only applies if the auto-minor-version
setting is enabled.
sourcepub fn deprecation_date(&self) -> Option<&DateTime>
pub fn deprecation_date(&self) -> Option<&DateTime>
The date when the replication instance version will be deprecated and can no longer be requested.
sourcepub fn force_upgrade_date(&self) -> Option<&DateTime>
pub fn force_upgrade_date(&self) -> Option<&DateTime>
The date when the replication instance will have a version upgrade forced.
sourcepub fn available_upgrades(&self) -> &[String]
pub fn available_upgrades(&self) -> &[String]
The list of valid replication instance versions that you can upgrade to.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .available_upgrades.is_none()
.
source§impl EngineVersion
impl EngineVersion
sourcepub fn builder() -> EngineVersionBuilder
pub fn builder() -> EngineVersionBuilder
Creates a new builder-style object to manufacture EngineVersion
.
Trait Implementations§
source§impl Clone for EngineVersion
impl Clone for EngineVersion
source§fn clone(&self) -> EngineVersion
fn clone(&self) -> EngineVersion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EngineVersion
impl Debug for EngineVersion
source§impl PartialEq for EngineVersion
impl PartialEq for EngineVersion
impl StructuralPartialEq for EngineVersion
Auto Trait Implementations§
impl Freeze for EngineVersion
impl RefUnwindSafe for EngineVersion
impl Send for EngineVersion
impl Sync for EngineVersion
impl Unpin for EngineVersion
impl UnwindSafe for EngineVersion
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