pub struct CreateThingTypeRequest {
pub tags: Option<Vec<Tag>>,
pub thing_type_name: String,
pub thing_type_properties: Option<ThingTypeProperties>,
}Expand description
The input for the CreateThingType operation.
Fields§
Metadata which can be used to manage the thing type.
thing_type_name: StringThe name of the thing type.
thing_type_properties: Option<ThingTypeProperties>The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.
Trait Implementations§
Source§impl Clone for CreateThingTypeRequest
impl Clone for CreateThingTypeRequest
Source§fn clone(&self) -> CreateThingTypeRequest
fn clone(&self) -> CreateThingTypeRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateThingTypeRequest
impl Debug for CreateThingTypeRequest
Source§impl Default for CreateThingTypeRequest
impl Default for CreateThingTypeRequest
Source§fn default() -> CreateThingTypeRequest
fn default() -> CreateThingTypeRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateThingTypeRequest
impl PartialEq for CreateThingTypeRequest
Source§impl Serialize for CreateThingTypeRequest
impl Serialize for CreateThingTypeRequest
impl StructuralPartialEq for CreateThingTypeRequest
Auto Trait Implementations§
impl Freeze for CreateThingTypeRequest
impl RefUnwindSafe for CreateThingTypeRequest
impl Send for CreateThingTypeRequest
impl Sync for CreateThingTypeRequest
impl Unpin for CreateThingTypeRequest
impl UnwindSafe for CreateThingTypeRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more