Struct rusoto_dynamodb::AttributeValue
[−]
[src]
pub struct AttributeValue { pub b: Option<BinaryAttributeValue>, pub bool: Option<BooleanAttributeValue>, pub bs: Option<BinarySetAttributeValue>, pub l: Option<ListAttributeValue>, pub m: Option<MapAttributeValue>, pub n: Option<NumberAttributeValue>, pub ns: Option<NumberSetAttributeValue>, pub null: Option<NullAttributeValue>, pub s: Option<StringAttributeValue>, pub ss: Option<StringSetAttributeValue>, }
Represents the data for an attribute. You can set one, and only one, of the elements.
Each attribute in an item is a name-value pair. An attribute can be single-valued or multi-valued set. For example, a book item can have title and authors attributes. Each book has one title but can have many authors. The multi-valued attribute is a set; duplicate values are not allowed.
Fields
b: Option<BinaryAttributeValue>
A Binary data type.
bool: Option<BooleanAttributeValue>
A Boolean data type.
bs: Option<BinarySetAttributeValue>
A Binary Set data type.
l: Option<ListAttributeValue>
A List of attribute values.
m: Option<MapAttributeValue>
A Map of attribute values.
n: Option<NumberAttributeValue>
A Number data type.
ns: Option<NumberSetAttributeValue>
A Number Set data type.
null: Option<NullAttributeValue>
A Null data type.
s: Option<StringAttributeValue>
A String data type.
ss: Option<StringSetAttributeValue>
A String Set data type.
Trait Implementations
impl Default for AttributeValue
[src]
fn default() -> AttributeValue
Returns the "default value" for a type. Read more
impl Debug for AttributeValue
[src]
impl Clone for AttributeValue
[src]
fn clone(&self) -> AttributeValue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more