pub struct GlobalSecondaryIndex {
pub index_name: String,
pub key_schema: Vec<KeySchemaElement>,
pub projection: Projection,
pub provisioned_throughput: Option<ProvisionedThroughput>,
}Expand description
Global secondary index definition (input for CreateTable).
A GSI has its own key schema, projection, and optional provisioned throughput.
Fields§
§index_name: StringThe name of the global secondary index.
key_schema: Vec<KeySchemaElement>The key schema for this index (partition key, optional sort key).
projection: ProjectionThe attributes projected into this index.
provisioned_throughput: Option<ProvisionedThroughput>The provisioned throughput for this index (required for PROVISIONED mode).
Trait Implementations§
Source§impl Clone for GlobalSecondaryIndex
impl Clone for GlobalSecondaryIndex
Source§fn clone(&self) -> GlobalSecondaryIndex
fn clone(&self) -> GlobalSecondaryIndex
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 GlobalSecondaryIndex
impl Debug for GlobalSecondaryIndex
Source§impl<'de> Deserialize<'de> for GlobalSecondaryIndex
impl<'de> Deserialize<'de> for GlobalSecondaryIndex
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 GlobalSecondaryIndex
impl RefUnwindSafe for GlobalSecondaryIndex
impl Send for GlobalSecondaryIndex
impl Sync for GlobalSecondaryIndex
impl Unpin for GlobalSecondaryIndex
impl UnsafeUnpin for GlobalSecondaryIndex
impl UnwindSafe for GlobalSecondaryIndex
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