#[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
SchemaArnorSchemaNameandRegistryNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas 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
SchemaArnorSchemaNameandRegistryNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas 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<GetSchemaVersionInput> for GetSchemaVersionInput
impl PartialEq<GetSchemaVersionInput> 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 ==.