[][src]Struct rusoto_dynamodbstreams::AttributeValue

pub struct AttributeValue {
    pub b: Option<Bytes>,
    pub bool: Option<bool>,
    pub bs: Option<Vec<Bytes>>,
    pub l: Option<Vec<AttributeValue>>,
    pub m: Option<HashMap<String, AttributeValue>>,
    pub n: Option<String>,
    pub ns: Option<Vec<String>>,
    pub null: Option<bool>,
    pub s: Option<String>,
    pub ss: Option<Vec<String>>,
}

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<Bytes>

A Binary data type.

bool: Option<bool>

A Boolean data type.

bs: Option<Vec<Bytes>>

A Binary Set data type.

l: Option<Vec<AttributeValue>>

A List data type.

m: Option<HashMap<String, AttributeValue>>

A Map data type.

n: Option<String>

A Number data type.

ns: Option<Vec<String>>

A Number Set data type.

null: Option<bool>

A Null data type.

s: Option<String>

A String data type.

ss: Option<Vec<String>>

A String Set data type.

Trait Implementations

impl Clone for AttributeValue[src]

impl Debug for AttributeValue[src]

impl Default for AttributeValue[src]

impl<'de> Deserialize<'de> for AttributeValue[src]

impl PartialEq<AttributeValue> for AttributeValue[src]

impl StructuralPartialEq for AttributeValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.