1 2 3 4 5 6 7 8 9 10
use serde::Serialize; /// Represents the tank pressure. /// /// https://www.streit.cc/extern/uddf_v321/en/tankpressure.html #[derive(Debug, Serialize)] pub struct TankPressure { #[serde(rename = "$text")] pub value: f64, }