Struct aws_sdk_dynamodb::model::SourceTableDetails
source · [−]#[non_exhaustive]pub struct SourceTableDetails {
pub table_name: Option<String>,
pub table_id: Option<String>,
pub table_arn: Option<String>,
pub table_size_bytes: i64,
pub key_schema: Option<Vec<KeySchemaElement>>,
pub table_creation_date_time: Option<DateTime>,
pub provisioned_throughput: Option<ProvisionedThroughput>,
pub item_count: Option<i64>,
pub billing_mode: Option<BillingMode>,
}
Expand description
Contains the details of the table when the backup was created.
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.table_name: Option<String>
The name of the table for which the backup was created.
table_id: Option<String>
Unique identifier for the table for which the backup was created.
table_arn: Option<String>
ARN of the table for which backup was created.
table_size_bytes: i64
Size of the table in bytes. Note that this is an approximate value.
key_schema: Option<Vec<KeySchemaElement>>
Schema of the table.
table_creation_date_time: Option<DateTime>
Time when the source table was created.
provisioned_throughput: Option<ProvisionedThroughput>
Read IOPs and Write IOPS on the table when the backup was created.
item_count: Option<i64>
Number of items in the table. Note that this is an approximate value.
billing_mode: Option<BillingMode>
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
-
PROVISIONED
- Sets the read/write capacity mode toPROVISIONED
. We recommend usingPROVISIONED
for predictable workloads. -
PAY_PER_REQUEST
- Sets the read/write capacity mode toPAY_PER_REQUEST
. We recommend usingPAY_PER_REQUEST
for unpredictable workloads.
Implementations
sourceimpl SourceTableDetails
impl SourceTableDetails
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the table for which the backup was created.
sourcepub fn table_id(&self) -> Option<&str>
pub fn table_id(&self) -> Option<&str>
Unique identifier for the table for which the backup was created.
sourcepub fn table_size_bytes(&self) -> i64
pub fn table_size_bytes(&self) -> i64
Size of the table in bytes. Note that this is an approximate value.
sourcepub fn key_schema(&self) -> Option<&[KeySchemaElement]>
pub fn key_schema(&self) -> Option<&[KeySchemaElement]>
Schema of the table.
sourcepub fn table_creation_date_time(&self) -> Option<&DateTime>
pub fn table_creation_date_time(&self) -> Option<&DateTime>
Time when the source table was created.
sourcepub fn provisioned_throughput(&self) -> Option<&ProvisionedThroughput>
pub fn provisioned_throughput(&self) -> Option<&ProvisionedThroughput>
Read IOPs and Write IOPS on the table when the backup was created.
sourcepub fn item_count(&self) -> Option<i64>
pub fn item_count(&self) -> Option<i64>
Number of items in the table. Note that this is an approximate value.
sourcepub fn billing_mode(&self) -> Option<&BillingMode>
pub fn billing_mode(&self) -> Option<&BillingMode>
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
-
PROVISIONED
- Sets the read/write capacity mode toPROVISIONED
. We recommend usingPROVISIONED
for predictable workloads. -
PAY_PER_REQUEST
- Sets the read/write capacity mode toPAY_PER_REQUEST
. We recommend usingPAY_PER_REQUEST
for unpredictable workloads.
sourceimpl SourceTableDetails
impl SourceTableDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SourceTableDetails
Trait Implementations
sourceimpl Clone for SourceTableDetails
impl Clone for SourceTableDetails
sourcefn clone(&self) -> SourceTableDetails
fn clone(&self) -> SourceTableDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SourceTableDetails
impl Debug for SourceTableDetails
sourceimpl PartialEq<SourceTableDetails> for SourceTableDetails
impl PartialEq<SourceTableDetails> for SourceTableDetails
sourcefn eq(&self, other: &SourceTableDetails) -> bool
fn eq(&self, other: &SourceTableDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SourceTableDetails) -> bool
fn ne(&self, other: &SourceTableDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for SourceTableDetails
Auto Trait Implementations
impl RefUnwindSafe for SourceTableDetails
impl Send for SourceTableDetails
impl Sync for SourceTableDetails
impl Unpin for SourceTableDetails
impl UnwindSafe for SourceTableDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more