Attributes

Type Alias Attributes 

Source
pub type Attributes = HashMap<Str, AttributeValue>;
Expand description

Type alias for a HashMap representing key-value pairs of attributes.

Keys are strings representing attribute names.

§Examples

let attributes = [
    ("age".into(), 30.0.into()),
    ("is_premium_member".into(), true.into()),
    ("username".into(), "john_doe".into()),
].into_iter().collect::<Attributes>();

Aliased Type§

pub struct Attributes { /* private fields */ }