diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-21 18:07:18 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-21 18:07:18 +0200 |
commit | 362363b3fd1f1fbffe2a3f81d73e71939addd34b (patch) | |
tree | 2c406b674a23a27a9bb6c61026243c5929bdca28 /server/protocol/src/registry.rs | |
parent | 34190a70b1efa0972ef58b88d356f985c46b89ae (diff) | |
download | hurrycurry-362363b3fd1f1fbffe2a3f81d73e71939addd34b.tar hurrycurry-362363b3fd1f1fbffe2a3f81d73e71939addd34b.tar.bz2 hurrycurry-362363b3fd1f1fbffe2a3f81d73e71939addd34b.tar.zst |
redirect packet
Diffstat (limited to 'server/protocol/src/registry.rs')
-rw-r--r-- | server/protocol/src/registry.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/protocol/src/registry.rs b/server/protocol/src/registry.rs index 92f2c454..b5b83bd1 100644 --- a/server/protocol/src/registry.rs +++ b/server/protocol/src/registry.rs @@ -1,6 +1,6 @@ use serde::{Deserialize, Serialize}; -#[derive(Debug, Serialize)] +#[derive(Debug, Clone, Serialize)] pub struct Entry { pub name: String, pub address: Vec<String>, @@ -9,7 +9,7 @@ pub struct Entry { pub version: (u32, u32), } -#[derive(Debug, Deserialize, Serialize)] +#[derive(Debug, Clone, Deserialize, Serialize)] pub struct Submission { pub secret: u128, pub name: String, |