]>
Commit | Line | Data |
---|---|---|
dd9cef56 | 1 | use serde::{Deserialize, Serialize}; |
013b1e8b | 2 | |
6ef1b649 | 3 | use proxmox_schema::api; |
dd9cef56 | 4 | |
013b1e8b | 5 | #[api] |
dd9cef56 SR |
6 | #[derive(Serialize, Deserialize)] |
7 | #[serde(rename_all = "kebab-case")] | |
8 | /// General status information about a running VM file-restore daemon | |
9 | pub struct RestoreDaemonStatus { | |
10 | /// VM uptime in seconds | |
11 | pub uptime: i64, | |
a26ebad5 SR |
12 | /// time left until auto-shutdown, keep in mind that this is useless when 'keep-timeout' is |
13 | /// not set, as then the status call will have reset the timer before returning the value | |
14 | pub timeout: i64, | |
dd9cef56 | 15 | } |