pub struct ThingAttribute {
pub attributes: Option<HashMap<String, String>>,
pub thing_arn: Option<String>,
pub thing_name: Option<String>,
pub thing_type_name: Option<String>,
pub version: Option<i64>,
}Expand description
The properties of the thing, including thing name, thing type name, and a list of thing attributes.
Fields§
§attributes: Option<HashMap<String, String>>A list of thing attributes which are name-value pairs.
thing_arn: Option<String>The thing ARN.
thing_name: Option<String>The name of the thing.
thing_type_name: Option<String>The name of the thing type, if the thing has been associated with a type.
version: Option<i64>The version of the thing record in the registry.
Trait Implementations§
Source§impl Clone for ThingAttribute
impl Clone for ThingAttribute
Source§fn clone(&self) -> ThingAttribute
fn clone(&self) -> ThingAttribute
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 ThingAttribute
impl Debug for ThingAttribute
Source§impl Default for ThingAttribute
impl Default for ThingAttribute
Source§fn default() -> ThingAttribute
fn default() -> ThingAttribute
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThingAttribute
impl<'de> Deserialize<'de> for ThingAttribute
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 ThingAttribute
impl PartialEq for ThingAttribute
impl StructuralPartialEq for ThingAttribute
Auto Trait Implementations§
impl Freeze for ThingAttribute
impl RefUnwindSafe for ThingAttribute
impl Send for ThingAttribute
impl Sync for ThingAttribute
impl Unpin for ThingAttribute
impl UnwindSafe for ThingAttribute
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