♻️ update
This commit is contained in:
parent
70c87bfad5
commit
3e3fd0fd83
3 changed files with 36 additions and 29 deletions
|
@ -7,7 +7,7 @@ use crate::gen_random;
|
|||
|
||||
use super::{User, UserRole};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug)]
|
||||
#[model]
|
||||
pub struct Session {
|
||||
/// The unique ID of the session token
|
||||
|
|
|
@ -18,7 +18,7 @@ use super::Sessions;
|
|||
/// ...
|
||||
/// }
|
||||
/// ```
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug)]
|
||||
#[model]
|
||||
pub struct User {
|
||||
/// The username chosen by the user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue