pub struct Mbl {
pub accounts: Vec<Account>,
pub transactions: Vec<Transaction>,
pub tags: Vec<String>,
pub categories: Vec<String>,
pub users: Vec<String>,
pub settings: Vec<String>,
}Fields§
§accounts: Vec<Account>§transactions: Vec<Transaction>§categories: Vec<String>§users: Vec<String>§settings: Vec<String>Implementations§
Source§impl Mbl
impl Mbl
pub fn new( accounts: Vec<Account>, transactions: Vec<Transaction>, tags: Vec<String>, categories: Vec<String>, users: Vec<String>, settings: Vec<String>, ) -> Self
pub fn add_account(&mut self, account: Account)
pub fn execute(&mut self)
pub fn add_transaction(&mut self, transaction: Transaction)
pub fn get_account_by_id(&self, id: String) -> Account
Auto Trait Implementations§
impl Freeze for Mbl
impl RefUnwindSafe for Mbl
impl Send for Mbl
impl Sync for Mbl
impl Unpin for Mbl
impl UnwindSafe for Mbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more