Struct rusoto_iot::AttributePayload [−][src]
pub struct AttributePayload { pub attributes: Option<HashMap<String, String>>, pub merge: Option<bool>, }
The attribute payload.
Fields
attributes: Option<HashMap<String, String>>
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
merge: Option<bool>
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]
impl Default for AttributePayload
fn default() -> AttributePayload
[src]
fn default() -> AttributePayload
Returns the "default value" for a type. Read more
impl Debug for AttributePayload
[src]
impl Debug for AttributePayload
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for AttributePayload
[src]
impl Clone for AttributePayload
fn clone(&self) -> AttributePayload
[src]
fn clone(&self) -> AttributePayload
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for AttributePayload
[src]
impl PartialEq for AttributePayload
fn eq(&self, other: &AttributePayload) -> bool
[src]
fn eq(&self, other: &AttributePayload) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AttributePayload) -> bool
[src]
fn ne(&self, other: &AttributePayload) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for AttributePayload
impl Send for AttributePayload
impl Sync for AttributePayload
impl Sync for AttributePayload