diff options
Diffstat (limited to 'src/server/cmd/structure.rs')
| -rw-r--r-- | src/server/cmd/structure.rs | 22 |
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![], - } - } -} |