dynamode 0.1.1

A professional, extensible ODM for AWS DynamoDB in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
use async_trait::async_trait;

/// Trait for any struct to be used as a DynamoDB entity.
#[async_trait]
pub trait DynamoModel: Send + Sync {
    fn table_name() -> &'static str
    where
        Self: Sized;
    fn partition_sort_key(&self) -> (String, String);
}