aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/stats/structures.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-02 16:35:41 +0000
committerFuwn <[email protected]>2021-05-02 16:35:41 +0000
commite70e58db5e434e40025ff737bc21a5062ef9b975 (patch)
treec7c69b448bf26a8cb86c78c29dda7ffe38de9056 /src/api/routes/stats/structures.rs
parentrefactor(todo): update todo style (diff)
downloadwhirl-e70e58db5e434e40025ff737bc21a5062ef9b975.tar.xz
whirl-e70e58db5e434e40025ff737bc21a5062ef9b975.zip
feat(global): begin implementing api
Diffstat (limited to 'src/api/routes/stats/structures.rs')
-rw-r--r--src/api/routes/stats/structures.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/api/routes/stats/structures.rs b/src/api/routes/stats/structures.rs
new file mode 100644
index 0000000..9a4fe23
--- /dev/null
+++ b/src/api/routes/stats/structures.rs
@@ -0,0 +1,9 @@
+// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
+// SPDX-License-Identifier: GPL-3.0-only
+
+use serde_derive::Serialize;
+
+#[derive(Serialize)]
+pub struct Statistics {
+ pub message: String,
+}