#[non_exhaustive]pub struct AwsDynamoDbTableGlobalSecondaryIndex {
pub backfilling: Option<bool>,
pub index_arn: Option<String>,
pub index_name: Option<String>,
pub index_size_bytes: Option<i64>,
pub index_status: Option<String>,
pub item_count: Option<i32>,
pub key_schema: Option<Vec<AwsDynamoDbTableKeySchema>>,
pub projection: Option<AwsDynamoDbTableProjection>,
pub provisioned_throughput: Option<AwsDynamoDbTableProvisionedThroughput>,
}
Expand description
Information abut a global secondary index for the table.
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.backfilling: Option<bool>
Whether the index is currently backfilling.
index_arn: Option<String>
The ARN of the index.
index_name: Option<String>
The name of the index.
index_size_bytes: Option<i64>
The total size in bytes of the index.
index_status: Option<String>
The current status of the index.
-
ACTIVE
-
CREATING
-
DELETING
-
UPDATING
item_count: Option<i32>
The number of items in the index.
key_schema: Option<Vec<AwsDynamoDbTableKeySchema>>
The key schema for the index.
projection: Option<AwsDynamoDbTableProjection>
Attributes that are copied from the table into an index.
provisioned_throughput: Option<AwsDynamoDbTableProvisionedThroughput>
Information about the provisioned throughput settings for the indexes.
Implementations§
source§impl AwsDynamoDbTableGlobalSecondaryIndex
impl AwsDynamoDbTableGlobalSecondaryIndex
sourcepub fn backfilling(&self) -> Option<bool>
pub fn backfilling(&self) -> Option<bool>
Whether the index is currently backfilling.
sourcepub fn index_name(&self) -> Option<&str>
pub fn index_name(&self) -> Option<&str>
The name of the index.
sourcepub fn index_size_bytes(&self) -> Option<i64>
pub fn index_size_bytes(&self) -> Option<i64>
The total size in bytes of the index.
sourcepub fn index_status(&self) -> Option<&str>
pub fn index_status(&self) -> Option<&str>
The current status of the index.
-
ACTIVE
-
CREATING
-
DELETING
-
UPDATING
sourcepub fn item_count(&self) -> Option<i32>
pub fn item_count(&self) -> Option<i32>
The number of items in the index.
sourcepub fn key_schema(&self) -> &[AwsDynamoDbTableKeySchema]
pub fn key_schema(&self) -> &[AwsDynamoDbTableKeySchema]
The key schema for the index.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .key_schema.is_none()
.
sourcepub fn projection(&self) -> Option<&AwsDynamoDbTableProjection>
pub fn projection(&self) -> Option<&AwsDynamoDbTableProjection>
Attributes that are copied from the table into an index.
sourcepub fn provisioned_throughput(
&self
) -> Option<&AwsDynamoDbTableProvisionedThroughput>
pub fn provisioned_throughput( &self ) -> Option<&AwsDynamoDbTableProvisionedThroughput>
Information about the provisioned throughput settings for the indexes.
source§impl AwsDynamoDbTableGlobalSecondaryIndex
impl AwsDynamoDbTableGlobalSecondaryIndex
sourcepub fn builder() -> AwsDynamoDbTableGlobalSecondaryIndexBuilder
pub fn builder() -> AwsDynamoDbTableGlobalSecondaryIndexBuilder
Creates a new builder-style object to manufacture AwsDynamoDbTableGlobalSecondaryIndex
.
Trait Implementations§
source§impl Clone for AwsDynamoDbTableGlobalSecondaryIndex
impl Clone for AwsDynamoDbTableGlobalSecondaryIndex
source§fn clone(&self) -> AwsDynamoDbTableGlobalSecondaryIndex
fn clone(&self) -> AwsDynamoDbTableGlobalSecondaryIndex
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsDynamoDbTableGlobalSecondaryIndex
impl PartialEq for AwsDynamoDbTableGlobalSecondaryIndex
source§fn eq(&self, other: &AwsDynamoDbTableGlobalSecondaryIndex) -> bool
fn eq(&self, other: &AwsDynamoDbTableGlobalSecondaryIndex) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsDynamoDbTableGlobalSecondaryIndex
Auto Trait Implementations§
impl Freeze for AwsDynamoDbTableGlobalSecondaryIndex
impl RefUnwindSafe for AwsDynamoDbTableGlobalSecondaryIndex
impl Send for AwsDynamoDbTableGlobalSecondaryIndex
impl Sync for AwsDynamoDbTableGlobalSecondaryIndex
impl Unpin for AwsDynamoDbTableGlobalSecondaryIndex
impl UnwindSafe for AwsDynamoDbTableGlobalSecondaryIndex
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