Crate mqtt_macro

Source
Expand description

A crate for easily transforming structs and (simple) enums into MQTT items with a topic and payload.

Macros§

parse_or_err

Structs§

Topic
An MQTT topic
TopicTree
A topic tree

Enums§

MqttDeserializeError

Traits§

MqttItem

Functions§

serde_json_deserialize
serde_json_serialize

Derive Macros§

MqttItem
A derive macro for producing MQTT topic + payloads, which implements the MqttItem trait for the derived item.