pub struct AccountRepository { /* private fields */ }
Implementations
sourceimpl AccountRepository
impl AccountRepository
pub fn new() -> Self
pub fn account_iter(&self) -> impl Iterator<Item = &Account>
pub fn lookup_by_fullname(&self, account_name: &str) -> Option<&Account>
pub fn lookup_by_fullname_mut(
&mut self,
account_name: &str
) -> Option<&mut Account>
pub fn add(&mut self, account: Account) -> Result<AccountId, ()>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AccountRepository
impl Send for AccountRepository
impl Sync for AccountRepository
impl Unpin for AccountRepository
impl UnwindSafe for AccountRepository
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more