Struct rusoto_dynamodb::LocalSecondaryIndex [−][src]
pub struct LocalSecondaryIndex { pub index_name: String, pub key_schema: Vec<KeySchemaElement>, pub projection: Projection, }
Represents the properties of a local secondary index.
Fields
index_name: String
The name of the local secondary index. The name must be unique among all other indexes on this table.
key_schema: Vec<KeySchemaElement>
The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types:
-
HASH
- partition key -
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
projection: Projection
Represents attributes that are copied (projected) from the table into the local secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
Trait Implementations
impl Default for LocalSecondaryIndex
[src]
impl Default for LocalSecondaryIndex
fn default() -> LocalSecondaryIndex
[src]
fn default() -> LocalSecondaryIndex
Returns the "default value" for a type. Read more
impl Debug for LocalSecondaryIndex
[src]
impl Debug for LocalSecondaryIndex
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for LocalSecondaryIndex
[src]
impl Clone for LocalSecondaryIndex
fn clone(&self) -> LocalSecondaryIndex
[src]
fn clone(&self) -> LocalSecondaryIndex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for LocalSecondaryIndex
[src]
impl PartialEq for LocalSecondaryIndex
fn eq(&self, other: &LocalSecondaryIndex) -> bool
[src]
fn eq(&self, other: &LocalSecondaryIndex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LocalSecondaryIndex) -> bool
[src]
fn ne(&self, other: &LocalSecondaryIndex) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for LocalSecondaryIndex
impl Send for LocalSecondaryIndex
impl Sync for LocalSecondaryIndex
impl Sync for LocalSecondaryIndex