#[non_exhaustive]pub struct GetSchemaVersionInput {
pub schema_id: Option<SchemaId>,
pub schema_version_id: Option<String>,
pub schema_version_number: Option<SchemaVersionNumber>,
}
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. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided.
schema_version_id: Option<String>
The SchemaVersionId
of the schema version. This field is required for fetching by schema ID. Either this or the SchemaId
wrapper has to be provided.
schema_version_number: Option<SchemaVersionNumber>
The version number of the schema.
Implementations§
source§impl GetSchemaVersionInput
impl GetSchemaVersionInput
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. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided.
sourcepub fn schema_version_id(&self) -> Option<&str>
pub fn schema_version_id(&self) -> Option<&str>
The SchemaVersionId
of the schema version. This field is required for fetching by schema ID. Either this or the SchemaId
wrapper has to be provided.
sourcepub fn schema_version_number(&self) -> Option<&SchemaVersionNumber>
pub fn schema_version_number(&self) -> Option<&SchemaVersionNumber>
The version number of the schema.
source§impl GetSchemaVersionInput
impl GetSchemaVersionInput
sourcepub fn builder() -> GetSchemaVersionInputBuilder
pub fn builder() -> GetSchemaVersionInputBuilder
Creates a new builder-style object to manufacture GetSchemaVersionInput
.
Trait Implementations§
source§impl Clone for GetSchemaVersionInput
impl Clone for GetSchemaVersionInput
source§fn clone(&self) -> GetSchemaVersionInput
fn clone(&self) -> GetSchemaVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetSchemaVersionInput
impl Debug for GetSchemaVersionInput
source§impl PartialEq for GetSchemaVersionInput
impl PartialEq for GetSchemaVersionInput
source§fn eq(&self, other: &GetSchemaVersionInput) -> bool
fn eq(&self, other: &GetSchemaVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSchemaVersionInput
Auto Trait Implementations§
impl Freeze for GetSchemaVersionInput
impl RefUnwindSafe for GetSchemaVersionInput
impl Send for GetSchemaVersionInput
impl Sync for GetSchemaVersionInput
impl Unpin for GetSchemaVersionInput
impl UnwindSafe for GetSchemaVersionInput
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