Struct aws_sdk_glue::types::SchemaVersionNumber
source · #[non_exhaustive]pub struct SchemaVersionNumber {
pub latest_version: bool,
pub version_number: Option<i64>,
}
Expand description
A structure containing the schema version information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.latest_version: bool
The latest version available for the schema.
version_number: Option<i64>
The version number of the schema.
Implementations§
source§impl SchemaVersionNumber
impl SchemaVersionNumber
sourcepub fn latest_version(&self) -> bool
pub fn latest_version(&self) -> bool
The latest version available for the schema.
sourcepub fn version_number(&self) -> Option<i64>
pub fn version_number(&self) -> Option<i64>
The version number of the schema.
source§impl SchemaVersionNumber
impl SchemaVersionNumber
sourcepub fn builder() -> SchemaVersionNumberBuilder
pub fn builder() -> SchemaVersionNumberBuilder
Creates a new builder-style object to manufacture SchemaVersionNumber
.
Trait Implementations§
source§impl Clone for SchemaVersionNumber
impl Clone for SchemaVersionNumber
source§fn clone(&self) -> SchemaVersionNumber
fn clone(&self) -> SchemaVersionNumber
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SchemaVersionNumber
impl Debug for SchemaVersionNumber
source§impl PartialEq for SchemaVersionNumber
impl PartialEq for SchemaVersionNumber
source§fn eq(&self, other: &SchemaVersionNumber) -> bool
fn eq(&self, other: &SchemaVersionNumber) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SchemaVersionNumber
Auto Trait Implementations§
impl RefUnwindSafe for SchemaVersionNumber
impl Send for SchemaVersionNumber
impl Sync for SchemaVersionNumber
impl Unpin for SchemaVersionNumber
impl UnwindSafe for SchemaVersionNumber
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.