#[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
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) -> &[AwsDynamoDbTableKeySchema]
pub fn key_schema(&self) -> &[AwsDynamoDbTableKeySchema]
The complete key schema for the index.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .key_schema.is_none()
.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsDynamoDbTableLocalSecondaryIndex
impl PartialEq for AwsDynamoDbTableLocalSecondaryIndex
source§fn eq(&self, other: &AwsDynamoDbTableLocalSecondaryIndex) -> bool
fn eq(&self, other: &AwsDynamoDbTableLocalSecondaryIndex) -> bool
self
and other
values to be equal, and is used
by ==
.