summaryrefslogtreecommitdiff
path: root/ci-lib-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'ci-lib-core/src')
-rw-r--r--ci-lib-core/src/protocol.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci-lib-core/src/protocol.rs b/ci-lib-core/src/protocol.rs
index c7a9318..c987c89 100644
--- a/ci-lib-core/src/protocol.rs
+++ b/ci-lib-core/src/protocol.rs
@@ -15,7 +15,7 @@ pub enum ClientProto {
Pong,
}
-#[derive(Serialize, Deserialize, Debug)]
+#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(tag = "command_info")]
#[serde(rename_all = "snake_case")]
pub enum CommandInfo {
@@ -23,7 +23,7 @@ pub enum CommandInfo {
Finished { exit_code: Option<i32>, id: u32 },
}
-#[derive(Serialize, Deserialize, Debug)]
+#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(tag = "task_info")]
#[serde(rename_all = "snake_case")]
pub enum TaskInfo {