diff options
Diffstat (limited to 'src/controller/wallet.rs')
-rw-r--r-- | src/controller/wallet.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/controller/wallet.rs b/src/controller/wallet.rs new file mode 100644 index 0000000..2a4a593 --- /dev/null +++ b/src/controller/wallet.rs @@ -0,0 +1,13 @@ +use sqlx::sqlite::SqlitePool; +use std::collections::HashMap; +use tera::Tera; + +use crate::model::user::User; + +#[derive(Clone)] +pub struct Wallet { + pub pool: SqlitePool, + pub assets: HashMap<String, String>, + pub templates: Tera, + pub user: User, +} |