#[non_exhaustive]pub struct GetSchemaByDefinitionInput {
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. One of
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
has to be provided.
schema_definition: Option<String>
The definition of the schema for which schema details are required.
Implementations§
source§impl GetSchemaByDefinitionInput
impl GetSchemaByDefinitionInput
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 schema_definition(&self) -> Option<&str>
pub fn schema_definition(&self) -> Option<&str>
The definition of the schema for which schema details are required.
source§impl GetSchemaByDefinitionInput
impl GetSchemaByDefinitionInput
sourcepub fn builder() -> GetSchemaByDefinitionInputBuilder
pub fn builder() -> GetSchemaByDefinitionInputBuilder
Creates a new builder-style object to manufacture GetSchemaByDefinitionInput
.
Trait Implementations§
source§impl Clone for GetSchemaByDefinitionInput
impl Clone for GetSchemaByDefinitionInput
source§fn clone(&self) -> GetSchemaByDefinitionInput
fn clone(&self) -> GetSchemaByDefinitionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetSchemaByDefinitionInput
impl Debug for GetSchemaByDefinitionInput
source§impl PartialEq for GetSchemaByDefinitionInput
impl PartialEq for GetSchemaByDefinitionInput
source§fn eq(&self, other: &GetSchemaByDefinitionInput) -> bool
fn eq(&self, other: &GetSchemaByDefinitionInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSchemaByDefinitionInput
Auto Trait Implementations§
impl Freeze for GetSchemaByDefinitionInput
impl RefUnwindSafe for GetSchemaByDefinitionInput
impl Send for GetSchemaByDefinitionInput
impl Sync for GetSchemaByDefinitionInput
impl Unpin for GetSchemaByDefinitionInput
impl UnwindSafe for GetSchemaByDefinitionInput
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