mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
progress bar
This commit is contained in:
committed by
Aiden McClelland
parent
1a76b7800f
commit
8fabb7f884
@@ -79,6 +79,7 @@ pub struct ServerInfo {
|
||||
pub unread_notification_count: u64,
|
||||
pub connection_addresses: ConnectionAddresses,
|
||||
pub share_stats: bool,
|
||||
#[model]
|
||||
pub update_progress: Option<UpdateProgress>,
|
||||
}
|
||||
|
||||
@@ -90,7 +91,7 @@ pub enum ServerStatus {
|
||||
BackingUp,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
#[derive(Debug, Deserialize, Serialize, HasModel)]
|
||||
#[serde(rename_all = "kebab-case")]
|
||||
pub struct UpdateProgress {
|
||||
pub size: Option<u64>,
|
||||
|
||||
Reference in New Issue
Block a user