#[non_exhaustive]pub struct AwsDynamoDbTableProjection {
pub non_key_attributes: Option<Vec<String>>,
pub projection_type: Option<String>,
}
Expand description
For global and local secondary indexes, identifies the attributes that are copied from the table into the index.
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.non_key_attributes: Option<Vec<String>>
The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.
projection_type: Option<String>
The types of attributes that are projected into the index. Valid values are as follows:
-
ALL
-
INCLUDE
-
KEYS_ONLY
Implementations§
source§impl AwsDynamoDbTableProjection
impl AwsDynamoDbTableProjection
sourcepub fn non_key_attributes(&self) -> Option<&[String]>
pub fn non_key_attributes(&self) -> Option<&[String]>
The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.
sourcepub fn projection_type(&self) -> Option<&str>
pub fn projection_type(&self) -> Option<&str>
The types of attributes that are projected into the index. Valid values are as follows:
-
ALL
-
INCLUDE
-
KEYS_ONLY
source§impl AwsDynamoDbTableProjection
impl AwsDynamoDbTableProjection
sourcepub fn builder() -> AwsDynamoDbTableProjectionBuilder
pub fn builder() -> AwsDynamoDbTableProjectionBuilder
Creates a new builder-style object to manufacture AwsDynamoDbTableProjection
.
Trait Implementations§
source§impl Clone for AwsDynamoDbTableProjection
impl Clone for AwsDynamoDbTableProjection
source§fn clone(&self) -> AwsDynamoDbTableProjection
fn clone(&self) -> AwsDynamoDbTableProjection
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 Debug for AwsDynamoDbTableProjection
impl Debug for AwsDynamoDbTableProjection
source§impl PartialEq for AwsDynamoDbTableProjection
impl PartialEq for AwsDynamoDbTableProjection
source§fn eq(&self, other: &AwsDynamoDbTableProjection) -> bool
fn eq(&self, other: &AwsDynamoDbTableProjection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsDynamoDbTableProjection
Auto Trait Implementations§
impl RefUnwindSafe for AwsDynamoDbTableProjection
impl Send for AwsDynamoDbTableProjection
impl Sync for AwsDynamoDbTableProjection
impl Unpin for AwsDynamoDbTableProjection
impl UnwindSafe for AwsDynamoDbTableProjection
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