Enum beancount_parser_lima::types::AccountType
source · pub enum AccountType {
Assets,
Liabilities,
Equity,
Income,
Expenses,
}Expand description
Top-level account type, the prefix of any fully-qualified Account.
Variants§
Trait Implementations§
source§impl AsRef<str> for AccountType
impl AsRef<str> for AccountType
source§impl Clone for AccountType
impl Clone for AccountType
source§fn clone(&self) -> AccountType
fn clone(&self) -> AccountType
Returns a copy of the value. Read more
1.0.0 · 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 AccountType
impl Debug for AccountType
source§impl<'_derivative_strum> From<&'_derivative_strum AccountType> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum AccountType> for &'static str
source§fn from(x: &'_derivative_strum AccountType) -> &'static str
fn from(x: &'_derivative_strum AccountType) -> &'static str
Converts to this type from the input type.
source§impl From<AccountType> for &'static str
impl From<AccountType> for &'static str
source§fn from(x: AccountType) -> &'static str
fn from(x: AccountType) -> &'static str
Converts to this type from the input type.
source§impl FromStr for AccountType
impl FromStr for AccountType
source§impl Hash for AccountType
impl Hash for AccountType
source§impl IntoEnumIterator for AccountType
impl IntoEnumIterator for AccountType
type Iterator = AccountTypeIter
fn iter() -> AccountTypeIter ⓘ
source§impl PartialEq for AccountType
impl PartialEq for AccountType
source§fn eq(&self, other: &AccountType) -> bool
fn eq(&self, other: &AccountType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&str> for AccountType
impl TryFrom<&str> for AccountType
impl Copy for AccountType
impl Eq for AccountType
impl StructuralPartialEq for AccountType
Auto Trait Implementations§
impl RefUnwindSafe for AccountType
impl Send for AccountType
impl Sync for AccountType
impl Unpin for AccountType
impl UnwindSafe for AccountType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more