#[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
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) -> &[String]
pub fn non_key_attributes(&self) -> &[String]
The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .non_key_attributes.is_none()
.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.