[][src]Module mbus_api::models

Structs

Address

Slave address

Device

The device the M-Bus is connected to - /dev/ is prepended to {device} by M-Bus HTTPD

Hat

Raspberry Pi Hat Information

MbusData

M-Bus device data as an XML document

Slaves

An XML list of slaves

TextError

Some error text

Yaml

A YAML file

Enums

Baudrate

Baudrate to use for the communication - valid values 300, 600, 1200, 2400, 4800, 9600 Enumeration of values. Since this enum's variants do not hold data, we can easily define them them as #[repr(C)] which helps with FFI.