JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Add more backend logic

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨5060ca2

⁨src/model/user.rs⁩ - ⁨213⁩ bytes
Raw
1 use serde::{Deserialize, Serialize};
2
3 use super::instance::Instance;
4
5 #[derive(Clone, Debug, Hash, PartialEq, Eq, Serialize, Deserialize)]
6 pub struct User {
7 pub username: String,
8 pub instance: Instance,
9 }
10