#[non_exhaustive]pub struct CreateThingTypeInput {
pub thing_type_name: Option<String>,
pub thing_type_properties: Option<ThingTypeProperties>,
pub tags: Option<Vec<Tag>>,
}
Expand description
The input for the CreateThingType operation.
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.thing_type_name: Option<String>
The 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.
Metadata which can be used to manage the thing type.
Implementations§
source§impl CreateThingTypeInput
impl CreateThingTypeInput
sourcepub fn thing_type_name(&self) -> Option<&str>
pub fn thing_type_name(&self) -> Option<&str>
The name of the thing type.
sourcepub fn thing_type_properties(&self) -> Option<&ThingTypeProperties>
pub fn thing_type_properties(&self) -> 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.
Metadata which can be used to manage the thing type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateThingTypeInput
impl CreateThingTypeInput
sourcepub fn builder() -> CreateThingTypeInputBuilder
pub fn builder() -> CreateThingTypeInputBuilder
Creates a new builder-style object to manufacture CreateThingTypeInput
.
Trait Implementations§
source§impl Clone for CreateThingTypeInput
impl Clone for CreateThingTypeInput
source§fn clone(&self) -> CreateThingTypeInput
fn clone(&self) -> CreateThingTypeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateThingTypeInput
impl Debug for CreateThingTypeInput
source§impl PartialEq for CreateThingTypeInput
impl PartialEq for CreateThingTypeInput
source§fn eq(&self, other: &CreateThingTypeInput) -> bool
fn eq(&self, other: &CreateThingTypeInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateThingTypeInput
Auto Trait Implementations§
impl Freeze for CreateThingTypeInput
impl RefUnwindSafe for CreateThingTypeInput
impl Send for CreateThingTypeInput
impl Sync for CreateThingTypeInput
impl Unpin for CreateThingTypeInput
impl UnwindSafe for CreateThingTypeInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more