Struct aws_sdk_databasemigration::model::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
sourceimpl 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) -> Option<&[CollectorShortInfoResponse]>
pub fn collectors(&self) -> Option<&[CollectorShortInfoResponse]>
A list of collectors associated with the database.
sourceimpl DatabaseResponse
impl DatabaseResponse
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DatabaseResponse
Trait Implementations
sourceimpl Clone for DatabaseResponse
impl Clone for DatabaseResponse
sourcefn clone(&self) -> DatabaseResponse
fn clone(&self) -> DatabaseResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DatabaseResponse
impl Debug for DatabaseResponse
sourceimpl PartialEq<DatabaseResponse> for DatabaseResponse
impl PartialEq<DatabaseResponse> for DatabaseResponse
sourcefn eq(&self, other: &DatabaseResponse) -> bool
fn eq(&self, other: &DatabaseResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DatabaseResponse) -> bool
fn ne(&self, other: &DatabaseResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for DatabaseResponse
Auto Trait Implementations
impl RefUnwindSafe for DatabaseResponse
impl Send for DatabaseResponse
impl Sync for DatabaseResponse
impl Unpin for DatabaseResponse
impl UnwindSafe for DatabaseResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more