Struct aws_sdk_redshift::types::ClusterDbRevision
source · #[non_exhaustive]pub struct ClusterDbRevision {
pub cluster_identifier: Option<String>,
pub current_database_revision: Option<String>,
pub database_revision_release_date: Option<DateTime>,
pub revision_targets: Option<Vec<RevisionTarget>>,
}Expand description
Describes a ClusterDbRevision.
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.cluster_identifier: Option<String>The unique identifier of the cluster.
current_database_revision: Option<String>A string representing the current cluster version.
database_revision_release_date: Option<DateTime>The date on which the database revision was released.
revision_targets: Option<Vec<RevisionTarget>>A list of RevisionTarget objects, where each object describes the database revision that a cluster can be updated to.
Implementations§
source§impl ClusterDbRevision
impl ClusterDbRevision
sourcepub fn cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
The unique identifier of the cluster.
sourcepub fn current_database_revision(&self) -> Option<&str>
pub fn current_database_revision(&self) -> Option<&str>
A string representing the current cluster version.
sourcepub fn database_revision_release_date(&self) -> Option<&DateTime>
pub fn database_revision_release_date(&self) -> Option<&DateTime>
The date on which the database revision was released.
sourcepub fn revision_targets(&self) -> &[RevisionTarget]
pub fn revision_targets(&self) -> &[RevisionTarget]
A list of RevisionTarget objects, where each object describes the database revision that a cluster can be updated 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 .revision_targets.is_none().
source§impl ClusterDbRevision
impl ClusterDbRevision
sourcepub fn builder() -> ClusterDbRevisionBuilder
pub fn builder() -> ClusterDbRevisionBuilder
Creates a new builder-style object to manufacture ClusterDbRevision.
Trait Implementations§
source§impl Clone for ClusterDbRevision
impl Clone for ClusterDbRevision
source§fn clone(&self) -> ClusterDbRevision
fn clone(&self) -> ClusterDbRevision
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ClusterDbRevision
impl Debug for ClusterDbRevision
source§impl PartialEq for ClusterDbRevision
impl PartialEq for ClusterDbRevision
source§fn eq(&self, other: &ClusterDbRevision) -> bool
fn eq(&self, other: &ClusterDbRevision) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ClusterDbRevision
Auto Trait Implementations§
impl Freeze for ClusterDbRevision
impl RefUnwindSafe for ClusterDbRevision
impl Send for ClusterDbRevision
impl Sync for ClusterDbRevision
impl Unpin for ClusterDbRevision
impl UnwindSafe for ClusterDbRevision
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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