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 ==
.