Struct aws_sdk_databasemigration::types::SchemaResponse
source · #[non_exhaustive]pub struct SchemaResponse {
pub code_line_count: Option<i64>,
pub code_size: Option<i64>,
pub complexity: Option<String>,
pub server: Option<ServerShortInfoResponse>,
pub database_instance: Option<DatabaseShortInfoResponse>,
pub schema_id: Option<String>,
pub schema_name: Option<String>,
pub original_schema: Option<SchemaShortInfoResponse>,
pub similarity: Option<f64>,
}
Expand description
Describes a schema 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.code_line_count: Option<i64>
The number of lines of code in a schema in a Fleet Advisor collector inventory.
code_size: Option<i64>
The size level of the code in a schema in a Fleet Advisor collector inventory.
complexity: Option<String>
The complexity level of the code in a schema in a Fleet Advisor collector inventory.
server: Option<ServerShortInfoResponse>
The database server for a schema in a Fleet Advisor collector inventory.
database_instance: Option<DatabaseShortInfoResponse>
The database for a schema in a Fleet Advisor collector inventory.
schema_id: Option<String>
The ID of a schema in a Fleet Advisor collector inventory.
schema_name: Option<String>
The name of a schema in a Fleet Advisor collector inventory.
original_schema: Option<SchemaShortInfoResponse>
Describes a schema in a Fleet Advisor collector inventory.
similarity: Option<f64>
The similarity value for a schema in a Fleet Advisor collector inventory. A higher similarity value indicates that a schema is likely to be a duplicate.
Implementations§
source§impl SchemaResponse
impl SchemaResponse
sourcepub fn code_line_count(&self) -> Option<i64>
pub fn code_line_count(&self) -> Option<i64>
The number of lines of code in a schema in a Fleet Advisor collector inventory.
sourcepub fn code_size(&self) -> Option<i64>
pub fn code_size(&self) -> Option<i64>
The size level of the code in a schema in a Fleet Advisor collector inventory.
sourcepub fn complexity(&self) -> Option<&str>
pub fn complexity(&self) -> Option<&str>
The complexity level of the code in a schema in a Fleet Advisor collector inventory.
sourcepub fn server(&self) -> Option<&ServerShortInfoResponse>
pub fn server(&self) -> Option<&ServerShortInfoResponse>
The database server for a schema in a Fleet Advisor collector inventory.
sourcepub fn database_instance(&self) -> Option<&DatabaseShortInfoResponse>
pub fn database_instance(&self) -> Option<&DatabaseShortInfoResponse>
The database for a schema in a Fleet Advisor collector inventory.
sourcepub fn schema_id(&self) -> Option<&str>
pub fn schema_id(&self) -> Option<&str>
The ID of a schema in a Fleet Advisor collector inventory.
sourcepub fn schema_name(&self) -> Option<&str>
pub fn schema_name(&self) -> Option<&str>
The name of a schema in a Fleet Advisor collector inventory.
sourcepub fn original_schema(&self) -> Option<&SchemaShortInfoResponse>
pub fn original_schema(&self) -> Option<&SchemaShortInfoResponse>
Describes a schema in a Fleet Advisor collector inventory.
sourcepub fn similarity(&self) -> Option<f64>
pub fn similarity(&self) -> Option<f64>
The similarity value for a schema in a Fleet Advisor collector inventory. A higher similarity value indicates that a schema is likely to be a duplicate.
source§impl SchemaResponse
impl SchemaResponse
sourcepub fn builder() -> SchemaResponseBuilder
pub fn builder() -> SchemaResponseBuilder
Creates a new builder-style object to manufacture SchemaResponse
.
Trait Implementations§
source§impl Clone for SchemaResponse
impl Clone for SchemaResponse
source§fn clone(&self) -> SchemaResponse
fn clone(&self) -> SchemaResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SchemaResponse
impl Debug for SchemaResponse
source§impl PartialEq for SchemaResponse
impl PartialEq for SchemaResponse
impl StructuralPartialEq for SchemaResponse
Auto Trait Implementations§
impl Freeze for SchemaResponse
impl RefUnwindSafe for SchemaResponse
impl Send for SchemaResponse
impl Sync for SchemaResponse
impl Unpin for SchemaResponse
impl UnwindSafe for SchemaResponse
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