#[non_exhaustive]pub struct Table {
pub table_name: String,
pub key_name: String,
pub value_name: String,
pub region: Region,
pub endpoint: Option<String>,
}
Expand description
Information about your target AWS DynamoDB table
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.table_name: String
The name of your DynamoDB
key_name: String
The name of the attribute that will store your key
value_name: String
The name of the attribute that will store your value
region: Region
The AWS region the table is hosted in.
When endpoint
is defined, the value of this field is is somewhat arbitrary
endpoint: Option<String>
An Optional, uri to address the DynamoDB api, often times just for dynamodb local
Implementations§
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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