diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-04 23:19:51 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-09-04 23:19:51 -0400 |
| commit | beeb40acdc07d5652bf2128ecb8f71a1116993ae (patch) | |
| tree | 14b48e7bf9555cb9079a7d918050ff9dd70c271f /src/id.rs | |
| parent | cae21da31ff795cc21ec19288fcdc5fdb8a713c7 (diff) | |
Support leaving a channel
Diffstat (limited to 'src/id.rs')
| -rw-r--r-- | src/id.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,8 +27,9 @@ 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)] +#[derive(Debug, Hash, PartialEq, Eq, sqlx::Type, serde::Deserialize)] #[sqlx(transparent)] +#[serde(transparent)] pub struct Id(String); impl fmt::Display for Id { |
