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