pub struct EnhancedAccountValidator;
Expand description
Enhanced account validator with detailed checks
Trait Implementations§
Source§impl AccountValidator for EnhancedAccountValidator
impl AccountValidator for EnhancedAccountValidator
Source§fn validate_account(&self, account: &Account) -> LedgerResult<()>
fn validate_account(&self, account: &Account) -> LedgerResult<()>
Validate an account before saving
Source§fn validate_account_deletion(&self, _account_id: &str) -> LedgerResult<()>
fn validate_account_deletion(&self, _account_id: &str) -> LedgerResult<()>
Validate account deletion (e.g., check for existing transactions)
Auto Trait Implementations§
impl Freeze for EnhancedAccountValidator
impl RefUnwindSafe for EnhancedAccountValidator
impl Send for EnhancedAccountValidator
impl Sync for EnhancedAccountValidator
impl Unpin for EnhancedAccountValidator
impl UnwindSafe for EnhancedAccountValidator
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