Struct aws_sdk_databasemigration::types::DatabaseResponse
source · #[non_exhaustive]pub struct DatabaseResponse {
pub database_id: Option<String>,
pub database_name: Option<String>,
pub ip_address: Option<String>,
pub number_of_schemas: Option<i64>,
pub server: Option<ServerShortInfoResponse>,
pub software_details: Option<DatabaseInstanceSoftwareDetailsResponse>,
pub collectors: Option<Vec<CollectorShortInfoResponse>>,
}
Expand description
Describes a database in a Fleet Advisor collector inventory.
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.database_id: Option<String>
The ID of a database in a Fleet Advisor collector inventory.
database_name: Option<String>
The name of a database in a Fleet Advisor collector inventory.
ip_address: Option<String>
The IP address of a database in a Fleet Advisor collector inventory.
number_of_schemas: Option<i64>
The number of schemas in a Fleet Advisor collector inventory database.
server: Option<ServerShortInfoResponse>
The server name of a database in a Fleet Advisor collector inventory.
software_details: Option<DatabaseInstanceSoftwareDetailsResponse>
The software details of a database in a Fleet Advisor collector inventory, such as database engine and version.
collectors: Option<Vec<CollectorShortInfoResponse>>
A list of collectors associated with the database.
Implementations§
source§impl DatabaseResponse
impl DatabaseResponse
sourcepub fn database_id(&self) -> Option<&str>
pub fn database_id(&self) -> Option<&str>
The ID of a database in a Fleet Advisor collector inventory.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of a database in a Fleet Advisor collector inventory.
sourcepub fn ip_address(&self) -> Option<&str>
pub fn ip_address(&self) -> Option<&str>
The IP address of a database in a Fleet Advisor collector inventory.
sourcepub fn number_of_schemas(&self) -> Option<i64>
pub fn number_of_schemas(&self) -> Option<i64>
The number of schemas in a Fleet Advisor collector inventory database.
sourcepub fn server(&self) -> Option<&ServerShortInfoResponse>
pub fn server(&self) -> Option<&ServerShortInfoResponse>
The server name of a database in a Fleet Advisor collector inventory.
sourcepub fn software_details(
&self,
) -> Option<&DatabaseInstanceSoftwareDetailsResponse>
pub fn software_details( &self, ) -> Option<&DatabaseInstanceSoftwareDetailsResponse>
The software details of a database in a Fleet Advisor collector inventory, such as database engine and version.
sourcepub fn collectors(&self) -> &[CollectorShortInfoResponse]
pub fn collectors(&self) -> &[CollectorShortInfoResponse]
A list of collectors associated with the database.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .collectors.is_none()
.
source§impl DatabaseResponse
impl DatabaseResponse
sourcepub fn builder() -> DatabaseResponseBuilder
pub fn builder() -> DatabaseResponseBuilder
Creates a new builder-style object to manufacture DatabaseResponse
.
Trait Implementations§
source§impl Clone for DatabaseResponse
impl Clone for DatabaseResponse
source§fn clone(&self) -> DatabaseResponse
fn clone(&self) -> DatabaseResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatabaseResponse
impl Debug for DatabaseResponse
source§impl PartialEq for DatabaseResponse
impl PartialEq for DatabaseResponse
impl StructuralPartialEq for DatabaseResponse
Auto Trait Implementations§
impl Freeze for DatabaseResponse
impl RefUnwindSafe for DatabaseResponse
impl Send for DatabaseResponse
impl Sync for DatabaseResponse
impl Unpin for DatabaseResponse
impl UnwindSafe for DatabaseResponse
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