pub struct TemporaryDifference {
pub id: String,
pub entity_code: String,
pub account: String,
pub description: String,
pub book_basis: Decimal,
pub tax_basis: Decimal,
pub difference: Decimal,
pub deferred_type: DeferredTaxType,
pub originating_standard: Option<String>,
}Expand description
A single temporary difference between book (GAAP/IFRS) and tax bases.
Under IAS 12 / ASC 740 a temporary difference arises when the carrying
amount of an asset or liability differs from its tax base. The deferred
tax effect equals difference × statutory_rate.
Fields§
§id: StringUnique identifier for this temporary difference record.
entity_code: StringCompany / entity code this difference relates to.
account: StringGL account code associated with the underlying asset or liability.
description: StringHuman-readable description (e.g. “Accelerated depreciation – MACRS”).
book_basis: DecimalBook (GAAP/IFRS) carrying amount.
tax_basis: DecimalTax basis of the same asset or liability.
difference: Decimalbook_basis − tax_basis; positive = DTA, negative = DTL (before type override).
deferred_type: DeferredTaxTypeWhether this difference yields a DTA or DTL.
originating_standard: Option<String>Accounting standard that created this difference (e.g. “ASC 842”, “IAS 16”).
Trait Implementations§
Source§impl Clone for TemporaryDifference
impl Clone for TemporaryDifference
Source§fn clone(&self) -> TemporaryDifference
fn clone(&self) -> TemporaryDifference
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TemporaryDifference
impl Debug for TemporaryDifference
Source§impl<'de> Deserialize<'de> for TemporaryDifference
impl<'de> Deserialize<'de> for TemporaryDifference
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>,
Auto Trait Implementations§
impl Freeze for TemporaryDifference
impl RefUnwindSafe for TemporaryDifference
impl Send for TemporaryDifference
impl Sync for TemporaryDifference
impl Unpin for TemporaryDifference
impl UnsafeUnpin for TemporaryDifference
impl UnwindSafe for TemporaryDifference
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.