Rust protobuf payload for Sparkplug.
The structs are generated with the protobuf IDL of the [Eclipse Tahu
] project. For more information
look at the homepage of the [Eclipse Sparkplug project
].
This crate provides a convenient way to handle MQTT topic names with [TopicName].
```rust let node = TopicName::newnodemessage(TopicNamespace::SPBV10, "mygroup".tostring(), NodeMessageType::NBIRTH, "nodeId".tostring()); asserteq!(node.tostring(), "spBv1.0/my_group/NBIRTH/nodeId");
let topic: TopicName = TopicName::fromstr("spBv1.0/mygroup/NBIRTH/nodeId").unwrap(); assert_eq!(topic, node); ```
License: EPL-2.0