Derive Macro dynomite_derive::Item
source · #[derive(Item)]
{
// Attributes available to this derive:
#[hash]
#[range]
}
Expand description
Derives dynomite::Item
type for struts with named fields
Attributes
#[hash]
- required attribute, expected to be applied the target hash attribute field with an derivable DynamoDB attribute value of String, Number or Binary#[range]
- optional attribute, may be applied to one target range attribute field with an derivable DynamoDB attribute value of String, Number or Binary
Panics
This proc macro will panic when applied to other types