pub enum Item {
Json(String),
}Variants§
Json(String)
a json string of dynamodb-formatted json. Something like this:
{
"profile_picture": { "B": "base64 string" },
"is_valid": { "BOOL": true },
"pictures": { "BS": ["base64 1", "base64 2"] },
"friends": { "L": [{ "S": "bob" }, { "S": "alice" }] },
"relationship": { "M": { "bob": {"S": "best friend"}, "alice": { "S": "second best friend" } } },
"age": { "N": "23" },
"favorite_birthdays": { "NS": ["17", "25"] },
"children": { "NULL": true },
"name": { "S": "arthur" },
"friends": { "SS": ["bob", "alice"] }
}Trait Implementations§
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more