pub struct ThingDocument {
pub attributes: Option<HashMap<String, String>>,
pub connectivity: Option<ThingConnectivity>,
pub shadow: Option<String>,
pub thing_group_names: Option<Vec<String>>,
pub thing_id: Option<String>,
pub thing_name: Option<String>,
pub thing_type_name: Option<String>,
}Expand description
The thing search index document.
Fields§
§attributes: Option<HashMap<String, String>>The attributes.
connectivity: Option<ThingConnectivity>Indicates whether the thing is connected to the AWS IoT service.
shadow: Option<String>The shadow.
thing_group_names: Option<Vec<String>>Thing group names.
thing_id: Option<String>The thing ID.
thing_name: Option<String>The thing name.
thing_type_name: Option<String>The thing type name.
Trait Implementations§
Source§impl Clone for ThingDocument
impl Clone for ThingDocument
Source§fn clone(&self) -> ThingDocument
fn clone(&self) -> ThingDocument
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 ThingDocument
impl Debug for ThingDocument
Source§impl Default for ThingDocument
impl Default for ThingDocument
Source§fn default() -> ThingDocument
fn default() -> ThingDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThingDocument
impl<'de> Deserialize<'de> for ThingDocument
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ThingDocument
impl PartialEq for ThingDocument
impl StructuralPartialEq for ThingDocument
Auto Trait Implementations§
impl Freeze for ThingDocument
impl RefUnwindSafe for ThingDocument
impl Send for ThingDocument
impl Sync for ThingDocument
impl Unpin for ThingDocument
impl UnwindSafe for ThingDocument
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