Struct aws_sdk_keyspaces::types::SchemaDefinition
source · #[non_exhaustive]pub struct SchemaDefinition { /* private fields */ }
Expand description
Describes the schema of the table.
Implementations§
source§impl SchemaDefinition
impl SchemaDefinition
sourcepub fn all_columns(&self) -> Option<&[ColumnDefinition]>
pub fn all_columns(&self) -> Option<&[ColumnDefinition]>
The regular columns of the table.
sourcepub fn partition_keys(&self) -> Option<&[PartitionKey]>
pub fn partition_keys(&self) -> Option<&[PartitionKey]>
The columns that are part of the partition key of the table .
sourcepub fn clustering_keys(&self) -> Option<&[ClusteringKey]>
pub fn clustering_keys(&self) -> Option<&[ClusteringKey]>
The columns that are part of the clustering key of the table.
sourcepub fn static_columns(&self) -> Option<&[StaticColumn]>
pub fn static_columns(&self) -> Option<&[StaticColumn]>
The columns that have been defined as STATIC
. Static columns store values that are shared by all rows in the same partition.
source§impl SchemaDefinition
impl SchemaDefinition
sourcepub fn builder() -> SchemaDefinitionBuilder
pub fn builder() -> SchemaDefinitionBuilder
Creates a new builder-style object to manufacture SchemaDefinition
.
Trait Implementations§
source§impl Clone for SchemaDefinition
impl Clone for SchemaDefinition
source§fn clone(&self) -> SchemaDefinition
fn clone(&self) -> SchemaDefinition
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 SchemaDefinition
impl Debug for SchemaDefinition
source§impl PartialEq<SchemaDefinition> for SchemaDefinition
impl PartialEq<SchemaDefinition> for SchemaDefinition
source§fn eq(&self, other: &SchemaDefinition) -> bool
fn eq(&self, other: &SchemaDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SchemaDefinition
Auto Trait Implementations§
impl RefUnwindSafe for SchemaDefinition
impl Send for SchemaDefinition
impl Sync for SchemaDefinition
impl Unpin for SchemaDefinition
impl UnwindSafe for SchemaDefinition
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