pub enum TaxDirection {
Output,
Input,
}Expand description
Whether a tax code is used on what the books’ owner supplies or on what it receives.
Variants§
Trait Implementations§
Source§impl Clone for TaxDirection
impl Clone for TaxDirection
Source§fn clone(&self) -> TaxDirection
fn clone(&self) -> TaxDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TaxDirection
Source§impl Debug for TaxDirection
impl Debug for TaxDirection
Source§impl<'de> Deserialize<'de> for TaxDirection
impl<'de> Deserialize<'de> for TaxDirection
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
impl Eq for TaxDirection
Source§impl Hash for TaxDirection
impl Hash for TaxDirection
Source§impl Ord for TaxDirection
impl Ord for TaxDirection
Source§fn cmp(&self, other: &TaxDirection) -> Ordering
fn cmp(&self, other: &TaxDirection) -> Ordering
1.21.0 (const: unstable) · 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 TaxDirection
impl PartialEq for TaxDirection
Source§impl PartialOrd for TaxDirection
impl PartialOrd for TaxDirection
Source§impl Serialize for TaxDirection
impl Serialize for TaxDirection
impl StructuralPartialEq for TaxDirection
Auto Trait Implementations§
impl Freeze for TaxDirection
impl RefUnwindSafe for TaxDirection
impl Send for TaxDirection
impl Sync for TaxDirection
impl Unpin for TaxDirection
impl UnsafeUnpin for TaxDirection
impl UnwindSafe for TaxDirection
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