Struct rusoto_iot::CreateThingRequest
[−]
[src]
pub struct CreateThingRequest { pub attribute_payload: Option<AttributePayload>, pub thing_name: String, pub thing_type_name: Option<String>, }
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: String
The name of the thing to create.
thing_type_name: Option<String>
The name of the thing type associated with the new thing.
Trait Implementations
impl Default for CreateThingRequest
[src]
fn default() -> CreateThingRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for CreateThingRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CreateThingRequest
[src]
fn clone(&self) -> CreateThingRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more