#[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
SchemaArnorSchemaNameandRegistryNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas 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
SchemaArnorSchemaNameandRegistryNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas 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 (const: unstable) · 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 UnsafeUnpin 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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