mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 12:35:31 +00:00
8 lines
No EOL
188 B
Rust
8 lines
No EOL
188 B
Rust
use async_trait::async_trait;
|
|
use sea_orm::prelude::Uuid;
|
|
|
|
#[async_trait]
|
|
pub trait UserSession {
|
|
async fn expires_at(&self) -> chrono::NaiveDateTime;
|
|
async fn id(&self) -> Uuid;
|
|
} |