discloud_rs/app/manage/
restart.rs

1use serde::Deserialize;
2
3#[derive(Deserialize, Debug, Clone)]
4#[serde(rename_all = "camelCase")]
5pub struct AppRestartAll {
6    pub already_in_process: Vec<String>,
7    pub already_offline: Vec<String>,
8    pub restarted: Vec<String>,
9}
10
11#[derive(Deserialize, Debug, Clone)]
12pub struct AppRestartResponseAll {
13    pub message: String,
14    pub status: String,
15    pub apps: AppRestartAll,
16}
17
18#[derive(Deserialize, Debug, Clone)]
19pub struct AppRestartResponseUnique {
20    pub message: String,
21    pub status: String,
22}