pub struct LocalSecondaryIndex {
pub index_name: String,
pub key_schema: Vec<KeySchemaElement>,
pub projection: Projection,
}Expand description
Local secondary index definition (input for CreateTable).
An LSI shares the partition key with the base table but uses a different sort key. LSIs must be defined at table creation time and cannot be modified afterward.
Fields§
§index_name: StringThe name of the local secondary index.
key_schema: Vec<KeySchemaElement>The key schema for this index.
projection: ProjectionThe attributes projected into this index.
Trait Implementations§
Source§impl Clone for LocalSecondaryIndex
impl Clone for LocalSecondaryIndex
Source§fn clone(&self) -> LocalSecondaryIndex
fn clone(&self) -> LocalSecondaryIndex
Returns a duplicate 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 LocalSecondaryIndex
impl Debug for LocalSecondaryIndex
Source§impl<'de> Deserialize<'de> for LocalSecondaryIndex
impl<'de> Deserialize<'de> for LocalSecondaryIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LocalSecondaryIndex
impl RefUnwindSafe for LocalSecondaryIndex
impl Send for LocalSecondaryIndex
impl Sync for LocalSecondaryIndex
impl Unpin for LocalSecondaryIndex
impl UnsafeUnpin for LocalSecondaryIndex
impl UnwindSafe for LocalSecondaryIndex
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