aboutsummaryrefslogtreecommitdiff
path: root/src/models.rs
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-01-16 13:30:47 -0500
committerCara Salter <cara@devcara.com>2022-01-16 13:30:47 -0500
commit4c804b3a85e2eee6dffc5a2bf0545814aaa12b95 (patch)
treefc261b2f2c4827027f9b6d19e1eef72c596e2130 /src/models.rs
parenteb41fede91d072693b279f908976d2ebc2ba1ca3 (diff)
downloadglitch-ng-4c804b3a85e2eee6dffc5a2bf0545814aaa12b95.tar.gz
glitch-ng-4c804b3a85e2eee6dffc5a2bf0545814aaa12b95.zip
rroles: Implement add and del
Also abstract updating the menu into its own function
Diffstat (limited to 'src/models.rs')
-rw-r--r--src/models.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models.rs b/src/models.rs
index 4b2e7bb..431204a 100644
--- a/src/models.rs
+++ b/src/models.rs
@@ -1,4 +1,4 @@
-#[derive(Debug)]
+#[derive(Debug, Clone)]
pub struct ReactionRole {
pub id: i32,
pub channel_id: String,