Struct aws_sdk_docdb::types::DbInstanceStatusInfo
source · #[non_exhaustive]pub struct DbInstanceStatusInfo {
pub status_type: Option<String>,
pub normal: bool,
pub status: Option<String>,
pub message: Option<String>,
}
Expand description
Provides a list of status information for an instance.
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.status_type: Option<String>
This value is currently "read replication
."
normal: bool
A Boolean value that is true
if the instance is operating normally, or false
if the instance is in an error state.
status: Option<String>
Status of the instance. For a StatusType
of read replica, the values can be replicating
, error, stopped
, or terminated
.
message: Option<String>
Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.
Implementations§
source§impl DbInstanceStatusInfo
impl DbInstanceStatusInfo
sourcepub fn status_type(&self) -> Option<&str>
pub fn status_type(&self) -> Option<&str>
This value is currently "read replication
."
sourcepub fn normal(&self) -> bool
pub fn normal(&self) -> bool
A Boolean value that is true
if the instance is operating normally, or false
if the instance is in an error state.
source§impl DbInstanceStatusInfo
impl DbInstanceStatusInfo
sourcepub fn builder() -> DbInstanceStatusInfoBuilder
pub fn builder() -> DbInstanceStatusInfoBuilder
Creates a new builder-style object to manufacture DbInstanceStatusInfo
.
Trait Implementations§
source§impl Clone for DbInstanceStatusInfo
impl Clone for DbInstanceStatusInfo
source§fn clone(&self) -> DbInstanceStatusInfo
fn clone(&self) -> DbInstanceStatusInfo
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 Debug for DbInstanceStatusInfo
impl Debug for DbInstanceStatusInfo
source§impl PartialEq for DbInstanceStatusInfo
impl PartialEq for DbInstanceStatusInfo
source§fn eq(&self, other: &DbInstanceStatusInfo) -> bool
fn eq(&self, other: &DbInstanceStatusInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DbInstanceStatusInfo
Auto Trait Implementations§
impl RefUnwindSafe for DbInstanceStatusInfo
impl Send for DbInstanceStatusInfo
impl Sync for DbInstanceStatusInfo
impl Unpin for DbInstanceStatusInfo
impl UnwindSafe for DbInstanceStatusInfo
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