#[non_exhaustive]pub struct AwsDynamoDbTableLocalSecondaryIndex {
pub index_arn: Option<String>,
pub index_name: Option<String>,
pub key_schema: Option<Vec<AwsDynamoDbTableKeySchema>>,
pub projection: Option<AwsDynamoDbTableProjection>,
}
Expand description
Information about a local secondary index for a DynamoDB 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.index_arn: Option<String>
The ARN of the index.
index_name: Option<String>
The name of the index.
key_schema: Option<Vec<AwsDynamoDbTableKeySchema>>
The complete key schema for the index.
projection: Option<AwsDynamoDbTableProjection>
Attributes that are copied from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
Implementations§
source§impl AwsDynamoDbTableLocalSecondaryIndex
impl AwsDynamoDbTableLocalSecondaryIndex
sourcepub fn index_name(&self) -> Option<&str>
pub fn index_name(&self) -> Option<&str>
The name of the index.
sourcepub fn key_schema(&self) -> Option<&[AwsDynamoDbTableKeySchema]>
pub fn key_schema(&self) -> Option<&[AwsDynamoDbTableKeySchema]>
The complete key schema for the index.
sourcepub fn projection(&self) -> Option<&AwsDynamoDbTableProjection>
pub fn projection(&self) -> Option<&AwsDynamoDbTableProjection>
Attributes that are copied from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
source§impl AwsDynamoDbTableLocalSecondaryIndex
impl AwsDynamoDbTableLocalSecondaryIndex
sourcepub fn builder() -> AwsDynamoDbTableLocalSecondaryIndexBuilder
pub fn builder() -> AwsDynamoDbTableLocalSecondaryIndexBuilder
Creates a new builder-style object to manufacture AwsDynamoDbTableLocalSecondaryIndex
.
Trait Implementations§
source§impl Clone for AwsDynamoDbTableLocalSecondaryIndex
impl Clone for AwsDynamoDbTableLocalSecondaryIndex
source§fn clone(&self) -> AwsDynamoDbTableLocalSecondaryIndex
fn clone(&self) -> AwsDynamoDbTableLocalSecondaryIndex
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 PartialEq for AwsDynamoDbTableLocalSecondaryIndex
impl PartialEq for AwsDynamoDbTableLocalSecondaryIndex
source§fn eq(&self, other: &AwsDynamoDbTableLocalSecondaryIndex) -> bool
fn eq(&self, other: &AwsDynamoDbTableLocalSecondaryIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsDynamoDbTableLocalSecondaryIndex
Auto Trait Implementations§
impl RefUnwindSafe for AwsDynamoDbTableLocalSecondaryIndex
impl Send for AwsDynamoDbTableLocalSecondaryIndex
impl Sync for AwsDynamoDbTableLocalSecondaryIndex
impl Unpin for AwsDynamoDbTableLocalSecondaryIndex
impl UnwindSafe for AwsDynamoDbTableLocalSecondaryIndex
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