Name: serde_dynamodb
Owner: Mozilla Services
Description: null
Created: 2018-05-02 21:44:37.0
Updated: 2018-05-09 20:24:08.0
Pushed: 2018-05-09 20:24:07.0
Homepage: null
Size: 63
Language: Rust
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Library to de/serialize an object to an HashMap
of AttributeValue
s used by rusoto_dynamodb to manipulate objects saved in dynamodb using serde
The API docs for the master branch are published here.
rive(Serialize, Deserialize)]
ct Todo {
id: uuid::Uuid,
title: &'static str,
done: bool,
todo = Todo {
id: uuid::Uuid::new_v4(),
title: "publish crate",
done: false,
put_item = PutItemInput {
item: serde_dynamodb::to_hashmap(&todo).unwrap(),
table_name: "todos".to_string(),
..Default::default()
client = DynamoDbClient::simple(Region::UsEast1);
nt.put_item(&put_item).unwrap();