pub enum DebitCredit {
Debit,
Credit,
}Expand description
Debit or credit side of a posting.
Variants§
Trait Implementations§
Source§impl Clone for DebitCredit
impl Clone for DebitCredit
Source§fn clone(&self) -> DebitCredit
fn clone(&self) -> DebitCredit
Returns a duplicate 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 DebitCredit
impl Debug for DebitCredit
Source§impl Hash for DebitCredit
impl Hash for DebitCredit
Source§impl Ord for DebitCredit
impl Ord for DebitCredit
Source§fn cmp(&self, other: &DebitCredit) -> Ordering
fn cmp(&self, other: &DebitCredit) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DebitCredit
impl PartialEq for DebitCredit
Source§impl PartialOrd for DebitCredit
impl PartialOrd for DebitCredit
impl Copy for DebitCredit
impl Eq for DebitCredit
impl StructuralPartialEq for DebitCredit
Auto Trait Implementations§
impl Freeze for DebitCredit
impl RefUnwindSafe for DebitCredit
impl Send for DebitCredit
impl Sync for DebitCredit
impl Unpin for DebitCredit
impl UnsafeUnpin for DebitCredit
impl UnwindSafe for DebitCredit
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