aboutsummaryrefslogtreecommitdiffstats
path: root/filamento/src/user.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-03-26 14:29:40 +0000
committerLibravatar cel 🌸 <cel@bunny.garden>2025-03-26 14:29:40 +0000
commit2211f324782cdc617b4b5ecd071178e372539fe4 (patch)
treea5ea5ce11d748424447dee23173d3cb8aec648ea /filamento/src/user.rs
parent2f8671978e18c1e1e7834056ae674f32fbde3868 (diff)
downloadluz-2211f324782cdc617b4b5ecd071178e372539fe4.tar.gz
luz-2211f324782cdc617b4b5ecd071178e372539fe4.tar.bz2
luz-2211f324782cdc617b4b5ecd071178e372539fe4.zip
refactor: rename crates and move client logic to separate crate `filament`
Diffstat (limited to 'filamento/src/user.rs')
-rw-r--r--filamento/src/user.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/filamento/src/user.rs b/filamento/src/user.rs
new file mode 100644
index 0000000..9914d14
--- /dev/null
+++ b/filamento/src/user.rs
@@ -0,0 +1,7 @@
+use jid::JID;
+
+#[derive(Debug, sqlx::FromRow)]
+pub struct User {
+ pub jid: JID,
+ pub cached_status_message: Option<String>,
+}