Struct rusoto_iot::AttributePayload
[−]
[src]
pub struct AttributePayload { pub attributes: Option<Attributes>, pub merge: Option<Flag>, }
The attribute payload.
Fields
attributes: Option<Attributes>
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}})
merge: Option<Flag>
Specifies whether the list of attributes provided in the AttributePayload
is merged with the attributes stored in the registry, instead of overwriting them.
To remove an attribute, call UpdateThing
with an empty attribute value.
The merge
attribute is only valid when calling UpdateThing
.
Trait Implementations
impl Default for AttributePayload
[src]
fn default() -> AttributePayload
Returns the "default value" for a type. Read more
impl Debug for AttributePayload
[src]
impl Clone for AttributePayload
[src]
fn clone(&self) -> AttributePayload
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