#[non_exhaustive]pub struct RegisterSchemaVersionInput {
pub schema_id: Option<SchemaId>,
pub schema_definition: Option<String>,
}
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_definition: Option<String>
The schema definition using the DataFormat
setting for the SchemaName
.
Implementations§
source§impl RegisterSchemaVersionInput
impl RegisterSchemaVersionInput
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_definition(&self) -> Option<&str>
pub fn schema_definition(&self) -> Option<&str>
The schema definition using the DataFormat
setting for the SchemaName
.
source§impl RegisterSchemaVersionInput
impl RegisterSchemaVersionInput
sourcepub fn builder() -> RegisterSchemaVersionInputBuilder
pub fn builder() -> RegisterSchemaVersionInputBuilder
Creates a new builder-style object to manufacture RegisterSchemaVersionInput
.
Trait Implementations§
source§impl Clone for RegisterSchemaVersionInput
impl Clone for RegisterSchemaVersionInput
source§fn clone(&self) -> RegisterSchemaVersionInput
fn clone(&self) -> RegisterSchemaVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegisterSchemaVersionInput
impl Debug for RegisterSchemaVersionInput
source§impl PartialEq for RegisterSchemaVersionInput
impl PartialEq for RegisterSchemaVersionInput
source§fn eq(&self, other: &RegisterSchemaVersionInput) -> bool
fn eq(&self, other: &RegisterSchemaVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegisterSchemaVersionInput
Auto Trait Implementations§
impl Freeze for RegisterSchemaVersionInput
impl RefUnwindSafe for RegisterSchemaVersionInput
impl Send for RegisterSchemaVersionInput
impl Sync for RegisterSchemaVersionInput
impl Unpin for RegisterSchemaVersionInput
impl UnwindSafe for RegisterSchemaVersionInput
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