Struct aws_sdk_timestreamwrite::types::Schema
source · #[non_exhaustive]pub struct Schema {
pub composite_partition_key: Option<Vec<PartitionKey>>,
}
Expand description
A Schema specifies the expected data model of the table.
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.composite_partition_key: Option<Vec<PartitionKey>>
A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
Implementations§
source§impl Schema
impl Schema
sourcepub fn composite_partition_key(&self) -> Option<&[PartitionKey]>
pub fn composite_partition_key(&self) -> Option<&[PartitionKey]>
A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
Trait Implementations§
source§impl PartialEq<Schema> for Schema
impl PartialEq<Schema> for Schema
impl StructuralPartialEq for Schema
Auto Trait Implementations§
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnwindSafe for Schema
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