Skip to main content

Module thing

Module thing 

Source
Expand description

Identifiers and aggregates for the Eclipse-Ditto-style Thing model.

A Thing is the canonical digital twin: a top-level entity (ThingId) holds free-form attributes, plus zero or more named Features. Each Feature is a typed bag of properties and desired_properties (the desired-state pattern from device twins).

Every protocol in the SDK ultimately reads or writes a Property identified by a crate::path::PropertyPath = (ThingId, FeatureId, PropertyId). The mapping from that triple to a Modbus register / MQTT topic / CoAP URI lives in crate::binding::ThingMapping.

Structs§

DefinitionIdentifier
Reference to a Vorto / W3C-WoT Thing-Description definition.
Feature
A Feature — a named, typed bag of properties on a Thing.
FeatureId
Identifier of a Feature inside a Thing.
PolicyId
Optional access-policy identifier — referenced by Thing.policy_id.
PropertyId
Identifier of a Property inside a Feature.
Thing
A Thing — the top-level digital twin.
ThingId
Globally unique identifier of a Thing — namespace:name.