pub struct TaxType {
pub name: Option<String>,
pub sort_key: i64,
pub id: i64,
pub meta: MetaDataEntityId,
pub extra: Map<String, Value>,
}Expand description
Tax types group tax rates by their accounting purpose, for example input tax or output tax. The percentage and receiving ledger account are configured on each tax rate.
Fields§
§name: Option<String>Unique name, trimmed before storage. Omitted, null or blank becomes null, including on update.
sort_key: i64Ascending display order. Required for creation and update; there is no API default.
id: i64§meta: MetaDataEntityId§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaxType
impl<'de> Deserialize<'de> for TaxType
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 StructuralPartialEq for TaxType
Auto Trait Implementations§
impl Freeze for TaxType
impl RefUnwindSafe for TaxType
impl Send for TaxType
impl Sync for TaxType
impl Unpin for TaxType
impl UnsafeUnpin for TaxType
impl UnwindSafe for TaxType
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