Struct aws_sdk_glue::types::KeySchemaElement
source · #[non_exhaustive]pub struct KeySchemaElement {
pub name: String,
pub type: String,
}Expand description
A partition key pair consisting of a name and a type.
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.name: StringThe name of a partition key.
type: StringThe type of a partition key.
Implementations§
source§impl KeySchemaElement
impl KeySchemaElement
sourcepub fn builder() -> KeySchemaElementBuilder
pub fn builder() -> KeySchemaElementBuilder
Creates a new builder-style object to manufacture KeySchemaElement.
Trait Implementations§
source§impl Clone for KeySchemaElement
impl Clone for KeySchemaElement
source§fn clone(&self) -> KeySchemaElement
fn clone(&self) -> KeySchemaElement
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 KeySchemaElement
impl Debug for KeySchemaElement
source§impl PartialEq for KeySchemaElement
impl PartialEq for KeySchemaElement
source§fn eq(&self, other: &KeySchemaElement) -> bool
fn eq(&self, other: &KeySchemaElement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for KeySchemaElement
Auto Trait Implementations§
impl RefUnwindSafe for KeySchemaElement
impl Send for KeySchemaElement
impl Sync for KeySchemaElement
impl Unpin for KeySchemaElement
impl UnwindSafe for KeySchemaElement
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.