Struct rusoto_iot::CreateThingRequest
[−]
[src]
pub struct CreateThingRequest { pub attribute_payload: Option<AttributePayload>, pub thing_name: ThingName, pub thing_type_name: Option<ThingTypeName>, }
The input for the CreateThing operation.
Fields
attribute_payload: Option<AttributePayload>
The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:
{\"attributes\":{\"string1\":\"string2\"}})
thing_name: ThingName
The name of the thing to create.
thing_type_name: Option<ThingTypeName>
The name of the thing type associated with the new thing.
Trait Implementations
impl Default for CreateThingRequest
[src]
fn default() -> CreateThingRequest
Returns the "default value" for a type. Read more
impl Debug for CreateThingRequest
[src]
impl Clone for CreateThingRequest
[src]
fn clone(&self) -> CreateThingRequest
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