Struct aws_sdk_iot::model::AttributePayload [−][src]
#[non_exhaustive]pub struct AttributePayload {
pub attributes: Option<HashMap<String, String>>,
pub merge: bool,
}
Expand description
The attribute payload.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.attributes: Option<HashMap<String, String>>
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
merge: 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
or UpdateThingGroup
.
Implementations
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
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
or UpdateThingGroup
.
Creates a new builder-style object to manufacture AttributePayload
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AttributePayload
impl Send for AttributePayload
impl Sync for AttributePayload
impl Unpin for AttributePayload
impl UnwindSafe for AttributePayload
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more