#[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 ==
.impl StructuralPartialEq for AwsDynamoDbTableProjection
Auto Trait Implementations§
impl Freeze for AwsDynamoDbTableProjection
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more