pub enum AccountProblem {
UnknownAccount {
event: EventHash,
account: AccountId,
},
UnknownParent {
event: EventHash,
account: AccountId,
},
KindMismatch {
event: EventHash,
account: AccountId,
},
Duplicate {
event: EventHash,
account: AccountId,
},
}Expand description
Something about the accounts of a set of books that needs review (spec part 0002): never resolved silently.
Variants§
UnknownAccount
A posting on an account that is neither in the chart nor opened – perhaps not arrived yet.
UnknownParent
An opened account whose parent is missing, or neither in the chart nor opened.
KindMismatch
An opened account of another kind than its parent.
Duplicate
An account opened again, or opened with the identity of an account of the chart.
Trait Implementations§
Source§impl Clone for AccountProblem
impl Clone for AccountProblem
Source§fn clone(&self) -> AccountProblem
fn clone(&self) -> AccountProblem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountProblem
impl Debug for AccountProblem
Source§impl Display for AccountProblem
impl Display for AccountProblem
impl Eq for AccountProblem
Source§impl Error for AccountProblem
impl Error for AccountProblem
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AccountProblem
impl PartialEq for AccountProblem
impl StructuralPartialEq for AccountProblem
Auto Trait Implementations§
impl Freeze for AccountProblem
impl RefUnwindSafe for AccountProblem
impl Send for AccountProblem
impl Sync for AccountProblem
impl Unpin for AccountProblem
impl UnsafeUnpin for AccountProblem
impl UnwindSafe for AccountProblem
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