pub enum AccountingMethod {
Cash,
Accrual,
}Expand description
Represents different accounting methods for reports.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AccountingMethod
impl Clone for AccountingMethod
Source§fn clone(&self) -> AccountingMethod
fn clone(&self) -> AccountingMethod
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 AccountingMethod
impl Debug for AccountingMethod
Source§impl<'de> Deserialize<'de> for AccountingMethod
impl<'de> Deserialize<'de> for AccountingMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AccountingMethod
impl Display for AccountingMethod
Source§impl PartialEq for AccountingMethod
impl PartialEq for AccountingMethod
Source§impl Serialize for AccountingMethod
impl Serialize for AccountingMethod
impl Copy for AccountingMethod
impl Eq for AccountingMethod
impl StructuralPartialEq for AccountingMethod
Auto Trait Implementations§
impl Freeze for AccountingMethod
impl RefUnwindSafe for AccountingMethod
impl Send for AccountingMethod
impl Sync for AccountingMethod
impl Unpin for AccountingMethod
impl UnwindSafe for AccountingMethod
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