ds: add account

This commit is contained in:
realaltffour 2020-06-30 07:12:56 +03:00
parent ee7055be03
commit 6f4cab7acb
No known key found for this signature in database
GPG Key ID: C1265D839D44DCB1

View File

@ -0,0 +1,11 @@
use crate::ds::account::portfolio::Portfolio;
#[derive(PartialEq, Debug)]
pub struct Account {
pub username: String,
pub email: String,
pub is_pass: bool,
pub pass_hash: String,
pub portfolio: Portfolio,
pub transactions: Vec<f64>
}