14 lines
355 B
Rust
14 lines
355 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
|
|
pub struct StoredAuthData {
|
|
pub access_token: String,
|
|
pub user_id: String,
|
|
pub role: String,
|
|
pub username: String,
|
|
pub timezone: String,
|
|
pub phone_country: String,
|
|
#[serde(default)]
|
|
pub selected_profile: Option<String>,
|
|
}
|