pub struct TaxCode(/* private fields */);Expand description
A tax code: the country in lower case, -, and a name of a-z, 0-9 and - (de-out-19). It says how a
posting is treated for VAT; what that means is reference data (TaxTable).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaxCode
impl<'de> Deserialize<'de> for TaxCode
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TaxCode
Source§impl Ord for TaxCode
impl Ord for TaxCode
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 PartialOrd for TaxCode
impl PartialOrd for TaxCode
impl StructuralPartialEq for TaxCode
Auto Trait Implementations§
impl Freeze for TaxCode
impl RefUnwindSafe for TaxCode
impl Send for TaxCode
impl Sync for TaxCode
impl Unpin for TaxCode
impl UnsafeUnpin for TaxCode
impl UnwindSafe for TaxCode
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