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

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.