about summary refs log tree commit diff stats
path: root/src/model.rs
diff options
context:
space:
mode:
authoryuzu <yuzu@b9215c17-b818-4693-b096-d1e41a411fef>2025-07-29 09:26:15 +0000
committeryuzu <yuzu@b9215c17-b818-4693-b096-d1e41a411fef>2025-07-29 09:26:15 +0000
commit40a65f981a664a186a52fc2981b99a6d8a1191d4 (patch)
treecc448f8521d3caa1f1d6396ad67e9b09bf648b05 /src/model.rs
parente33f9a59f875edf1240ca80c1014235296ff3cbf (diff)
downloadsalaryman-40a65f981a664a186a52fc2981b99a6d8a1191d4.tar.gz
salaryman-40a65f981a664a186a52fc2981b99a6d8a1191d4.tar.bz2
salaryman-40a65f981a664a186a52fc2981b99a6d8a1191d4.zip
parallel process monitoring get
git-svn-id: svn+ssh://diminuette.aengel.lesbianunix.dev/salaryman/trunk@16 b9215c17-b818-4693-b096-d1e41a411fef
Diffstat (limited to 'src/model.rs')
-rw-r--r--src/model.rs31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/model.rs b/src/model.rs
deleted file mode 100644
index 578d9b4..0000000
--- a/src/model.rs
+++ /dev/null
@@ -1,31 +0,0 @@
-use schemars::JsonSchema;
-use serde::{Deserialize, Serialize};
-use std::net::IpAddr;
-use std::path::PathBuf;
-use uuid::Uuid;
-
-#[derive(Serialize, Deserialize, JsonSchema, Debug)]
-pub struct UpdateConf {
-    pub address: Option<IpAddr>,
-    pub port: Option<u16>,
-}
-
-#[derive(Serialize, Deserialize, JsonSchema, Debug)]
-pub struct StdinBuffer {
-    pub stdin: String,
-    pub endl: Option<bool>,
-}
-
-#[derive(Serialize, Deserialize, JsonSchema, Debug)]
-pub struct ServicePath {
-    pub service_uuid: Uuid,
-}
-
-#[derive(Serialize, Deserialize, JsonSchema, Debug)]
-pub struct NewService {
-    pub name: Option<String>,
-    pub command: Option<String>,
-    pub args: Option<Option<String>>,
-    pub directory: Option<Option<PathBuf>>,
-    pub autostart: Option<bool>,
-}