aboutsummaryrefslogtreecommitdiff
path: root/src/controller/wallet.rs
blob: 7537406e57bb53a58459f76357b2bc7e48c9d46e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use sqlx::sqlite::SqlitePool;
use std::collections::HashMap;

use crate::model::user::User;

#[derive(Clone)]
pub struct Wallet {
    pub pool: SqlitePool,
    pub assets: HashMap<String, String>,
    pub templates: minijinja::Environment<'static>,
    pub user: User,
}