aboutsummaryrefslogtreecommitdiff
path: root/src/server/cmd/structure.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-17 10:16:42 +0000
committerFuwn <[email protected]>2021-05-17 10:16:42 +0000
commit1b482ab22031ab9a895b2567ba10a2e553752303 (patch)
treedb4874c46b25655ba7c94b0ab435fdb0d681af55 /src/server/cmd/structure.rs
parentrefactor(global): whirl_config modulized (diff)
downloadwhirl-1b482ab22031ab9a895b2567ba10a2e553752303.tar.xz
whirl-1b482ab22031ab9a895b2567ba10a2e553752303.zip
refactor(global): even more modules becoming crates
I did multiple checks and **yes**, everything still works perfectly fine.
Diffstat (limited to 'src/server/cmd/structure.rs')
-rw-r--r--src/server/cmd/structure.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/server/cmd/structure.rs b/src/server/cmd/structure.rs
deleted file mode 100644
index 23e91ca..0000000
--- a/src/server/cmd/structure.rs
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
-// SPDX-License-Identifier: GPL-3.0-only
-
-pub struct Command {
- pub length: i32,
- pub obj_id: i32,
- pub id: i32,
- pub body: Vec<u8>,
-}
-impl Command {
- pub fn _new() -> Self { Command::default() }
-}
-impl Default for Command {
- fn default() -> Self {
- Command {
- length: 0,
- obj_id: 0,
- id: 0,
- body: vec![],
- }
- }
-}