From 3238f8517097745032e19b3e26f57f0465a00b28 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 10 Jun 2022 10:47:16 +0200 Subject: move to workspace --- src/protocol.rs | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/protocol.rs (limited to 'src/protocol.rs') diff --git a/src/protocol.rs b/src/protocol.rs deleted file mode 100644 index af89263..0000000 --- a/src/protocol.rs +++ /dev/null @@ -1,32 +0,0 @@ -use serde::{Deserialize, Serialize}; - -use crate::condition::Condition; - -#[derive(Debug, Serialize, Deserialize)] -#[serde(tag = "type", content = "data", rename_all = "snake_case")] -pub enum ClientboundPacket { - Handshake { version: String }, - Error(String), - DownloadResponse(Vec), -} - -#[derive(Debug, Serialize, Deserialize)] -#[serde(tag = "type", content = "data", rename_all = "snake_case")] -pub enum ServerboundPacket { - Download, -} - -#[derive(Debug, Serialize, Deserialize)] -pub struct Task { - pub name: String, - pub description: String, - - pub tags: Vec, - pub priority: f64, - - pub completed: Option, - pub scheduled: Option, - - pub occurence: Option, - pub deadline: Option, -} -- cgit v1.2.3-70-g09d2