Struct aws_sdk_iot::types::ThingTypeProperties
source · #[non_exhaustive]pub struct ThingTypeProperties {
pub thing_type_description: Option<String>,
pub searchable_attributes: Option<Vec<String>>,
}
Expand description
The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.thing_type_description: Option<String>
The description of the thing type.
searchable_attributes: Option<Vec<String>>
A list of searchable thing attribute names.
Implementations§
source§impl ThingTypeProperties
impl ThingTypeProperties
sourcepub fn thing_type_description(&self) -> Option<&str>
pub fn thing_type_description(&self) -> Option<&str>
The description of the thing type.
sourcepub fn searchable_attributes(&self) -> &[String]
pub fn searchable_attributes(&self) -> &[String]
A list of searchable thing attribute names.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .searchable_attributes.is_none()
.
source§impl ThingTypeProperties
impl ThingTypeProperties
sourcepub fn builder() -> ThingTypePropertiesBuilder
pub fn builder() -> ThingTypePropertiesBuilder
Creates a new builder-style object to manufacture ThingTypeProperties
.
Trait Implementations§
source§impl Clone for ThingTypeProperties
impl Clone for ThingTypeProperties
source§fn clone(&self) -> ThingTypeProperties
fn clone(&self) -> ThingTypeProperties
Returns a copy 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 ThingTypeProperties
impl Debug for ThingTypeProperties
source§impl PartialEq for ThingTypeProperties
impl PartialEq for ThingTypeProperties
source§fn eq(&self, other: &ThingTypeProperties) -> bool
fn eq(&self, other: &ThingTypeProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ThingTypeProperties
Auto Trait Implementations§
impl RefUnwindSafe for ThingTypeProperties
impl Send for ThingTypeProperties
impl Sync for ThingTypeProperties
impl Unpin for ThingTypeProperties
impl UnwindSafe for ThingTypeProperties
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
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>
Creates a shared type from an unshared type.