Struct beancount_parser_lima::types::AccountName
source · pub struct AccountName<'a>(/* private fields */);Expand description
One component of a colon-separated account.
Trait Implementations§
source§impl<'a> AsRef<str> for AccountName<'a>
impl<'a> AsRef<str> for AccountName<'a>
source§impl<'a> Clone for AccountName<'a>
impl<'a> Clone for AccountName<'a>
source§fn clone(&self) -> AccountName<'a>
fn clone(&self) -> AccountName<'a>
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<'a> Debug for AccountName<'a>
impl<'a> Debug for AccountName<'a>
source§impl<'a> Display for AccountName<'a>
impl<'a> Display for AccountName<'a>
source§impl<'a> ElementType for AccountName<'a>
impl<'a> ElementType for AccountName<'a>
fn element_type(&self) -> &'static str
source§impl<'a> PartialEq for AccountName<'a>
impl<'a> PartialEq for AccountName<'a>
source§fn eq(&self, other: &AccountName<'a>) -> bool
fn eq(&self, other: &AccountName<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> TryFrom<&'a str> for AccountName<'a>
impl<'a> TryFrom<&'a str> for AccountName<'a>
impl<'a> Copy for AccountName<'a>
impl<'a> Eq for AccountName<'a>
impl<'a> StructuralPartialEq for AccountName<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AccountName<'a>
impl<'a> Send for AccountName<'a>
impl<'a> Sync for AccountName<'a>
impl<'a> Unpin for AccountName<'a>
impl<'a> UnwindSafe for AccountName<'a>
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