]> git.proxmox.com Git - proxmox-backup.git/blame - pbs-api-types/src/file_restore.rs
update to first proxmox crate split
[proxmox-backup.git] / pbs-api-types / src / file_restore.rs
CommitLineData
dd9cef56 1use serde::{Deserialize, Serialize};
013b1e8b 2
6ef1b649 3use 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
9pub 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}