From 067e3da1900d052a416c56e1c047640aa23441ae Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Fri, 13 Sep 2024 00:26:03 -0400 Subject: Transmit messages via `/:chan/send` and `/:chan/events`. --- src/id.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/id.rs') diff --git a/src/id.rs b/src/id.rs index 4e12f2a..c69b341 100644 --- a/src/id.rs +++ b/src/id.rs @@ -27,7 +27,7 @@ pub const ID_SIZE: usize = 15; // // By convention, the prefix should be UPPERCASE - note that the alphabet for this // is entirely lowercase. -#[derive(Debug, Hash, PartialEq, Eq, sqlx::Type, serde::Deserialize)] +#[derive(Clone, Debug, Hash, PartialEq, Eq, sqlx::Type, serde::Deserialize, serde::Serialize)] #[sqlx(transparent)] #[serde(transparent)] pub struct Id(String); -- cgit v1.2.3