Struct tiny_dynamo::Table [−][src]
#[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