Tweak documentation (to look like the rest)

This commit is contained in:
Paul van Tilburg 2023-01-16 21:05:15 +01:00
parent 35209b6303
commit 8d892d8619
Signed by: paul
GPG Key ID: C6DE073EDA9EEC4D
1 changed files with 3 additions and 3 deletions

View File

@ -45,11 +45,11 @@ struct Config {
#[derive(Clone, Copy, Debug, Serialize)] #[derive(Clone, Copy, Debug, Serialize)]
#[serde(crate = "rocket::serde")] #[serde(crate = "rocket::serde")]
struct Status { struct Status {
/// Current power production (W) /// The current power production (W).
current_w: f32, current_w: f32,
/// Total energy produced since installation (kWh) /// The total energy produced since installation (kWh).
total_kwh: f32, total_kwh: f32,
/// Timestamp of last update /// The (UNIX) timestamp of when the status was last updated.
last_updated: u64, last_updated: u64,
} }