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]
impl Default for CreateThingRequest
fn default() -> CreateThingRequest
[src]
fn default() -> CreateThingRequest
Returns the "default value" for a type. Read more
impl Debug for CreateThingRequest
[src]
impl Debug for CreateThingRequest
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 CreateThingRequest
[src]
impl Clone for CreateThingRequest
fn clone(&self) -> CreateThingRequest
[src]
fn clone(&self) -> CreateThingRequest
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 CreateThingRequest
[src]
impl PartialEq for CreateThingRequest
fn eq(&self, other: &CreateThingRequest) -> bool
[src]
fn eq(&self, other: &CreateThingRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateThingRequest) -> bool
[src]
fn ne(&self, other: &CreateThingRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateThingRequest
impl Send for CreateThingRequest
impl Sync for CreateThingRequest
impl Sync for CreateThingRequest