Struct aws_sdk_docdb::types::DbInstanceStatusInfo  
source · #[non_exhaustive]pub struct DbInstanceStatusInfo {
    pub status_type: Option<String>,
    pub normal: Option<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: Option<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) -> Option<bool>
 
pub fn normal(&self) -> Option<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 Freeze for DbInstanceStatusInfo
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
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>
Converts 
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>
Converts 
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 moreCreates a shared type from an unshared type.