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
source§fn eq(&self, other: &SchemaResponse) -> bool
fn eq(&self, other: &SchemaResponse) -> bool
self
and other
values to be equal, and is used
by ==
.