#[non_exhaustive]pub struct GetSchemaVersionsDiffInput {
pub schema_id: Option<SchemaId>,
pub first_schema_version_number: Option<SchemaVersionNumber>,
pub second_schema_version_number: Option<SchemaVersionNumber>,
pub schema_diff_type: Option<SchemaDiffType>,
}
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.schema_id: Option<SchemaId>
This is a wrapper structure to contain schema identity fields. The structure contains:
-
SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
has to be provided.
first_schema_version_number: Option<SchemaVersionNumber>
The first of the two schema versions to be compared.
second_schema_version_number: Option<SchemaVersionNumber>
The second of the two schema versions to be compared.
schema_diff_type: Option<SchemaDiffType>
Refers to SYNTAX_DIFF
, which is the currently supported diff type.
Implementations§
source§impl GetSchemaVersionsDiffInput
impl GetSchemaVersionsDiffInput
sourcepub fn schema_id(&self) -> Option<&SchemaId>
pub fn schema_id(&self) -> Option<&SchemaId>
This is a wrapper structure to contain schema identity fields. The structure contains:
-
SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
has to be provided.
sourcepub fn first_schema_version_number(&self) -> Option<&SchemaVersionNumber>
pub fn first_schema_version_number(&self) -> Option<&SchemaVersionNumber>
The first of the two schema versions to be compared.
sourcepub fn second_schema_version_number(&self) -> Option<&SchemaVersionNumber>
pub fn second_schema_version_number(&self) -> Option<&SchemaVersionNumber>
The second of the two schema versions to be compared.
sourcepub fn schema_diff_type(&self) -> Option<&SchemaDiffType>
pub fn schema_diff_type(&self) -> Option<&SchemaDiffType>
Refers to SYNTAX_DIFF
, which is the currently supported diff type.
source§impl GetSchemaVersionsDiffInput
impl GetSchemaVersionsDiffInput
sourcepub fn builder() -> GetSchemaVersionsDiffInputBuilder
pub fn builder() -> GetSchemaVersionsDiffInputBuilder
Creates a new builder-style object to manufacture GetSchemaVersionsDiffInput
.
Trait Implementations§
source§impl Clone for GetSchemaVersionsDiffInput
impl Clone for GetSchemaVersionsDiffInput
source§fn clone(&self) -> GetSchemaVersionsDiffInput
fn clone(&self) -> GetSchemaVersionsDiffInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetSchemaVersionsDiffInput
impl Debug for GetSchemaVersionsDiffInput
source§impl PartialEq for GetSchemaVersionsDiffInput
impl PartialEq for GetSchemaVersionsDiffInput
source§fn eq(&self, other: &GetSchemaVersionsDiffInput) -> bool
fn eq(&self, other: &GetSchemaVersionsDiffInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSchemaVersionsDiffInput
Auto Trait Implementations§
impl Freeze for GetSchemaVersionsDiffInput
impl RefUnwindSafe for GetSchemaVersionsDiffInput
impl Send for GetSchemaVersionsDiffInput
impl Sync for GetSchemaVersionsDiffInput
impl Unpin for GetSchemaVersionsDiffInput
impl UnwindSafe for GetSchemaVersionsDiffInput
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> 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