pub trait DynamoClient {
// Required method
fn client(&self) -> &Client;
// Provided method
fn table_name(&self) -> Option<&str> { ... }
}
Expand description
DynamoClient is a trait that provides a DynamoDB client and table name
Required Methods§
Provided Methods§
Sourcefn table_name(&self) -> Option<&str>
fn table_name(&self) -> Option<&str>
for non-local client, this method returns None