pub struct EquityMethodInputs<'a> {
pub investee: &'a ManifestEntity,
pub investor_entity_code: String,
pub investee_net_income: Decimal,
pub investee_dividends_paid: Decimal,
pub opening_carrying_value: Decimal,
pub opening_suppressed_loss: Decimal,
pub impairment: Decimal,
pub period_end: NaiveDate,
pub currency: String,
}Expand description
Inputs required to derive an EquityMethodInvestment.
The caller is responsible for already having translated
investee_net_income and investee_dividends_paid into the group
presentation currency (Chunk 6).
Fields§
§investee: &'a ManifestEntityReference to the investee’s manifest entity. Provides the code, ownership percent, and consolidation method used to validate inputs.
investor_entity_code: StringCode of the investor entity (parent who holds the investment).
investee_net_income: DecimalInvestee’s period net income (after tax).
investee_dividends_paid: DecimalInvestee’s total dividends paid this period (gross — both
to controlling and non-controlling shareholders; the share
the investor receives is ownership * total).
opening_carrying_value: DecimalCarrying amount brought forward from the prior period.
opening_suppressed_loss: DecimalCumulative losses brought forward from prior periods that the
investor previously suppressed under IAS 28.38. Zero on the
first period of an engagement. Applied against the current
period’s share_of_profit before any is recognised.
impairment: DecimalImpairment loss to recognise this period. Always non-negative; zero by default if no impairment indicator is observed.
period_end: NaiveDatePeriod end date.
currency: StringGroup presentation currency.
Auto Trait Implementations§
impl<'a> Freeze for EquityMethodInputs<'a>
impl<'a> RefUnwindSafe for EquityMethodInputs<'a>
impl<'a> Send for EquityMethodInputs<'a>
impl<'a> Sync for EquityMethodInputs<'a>
impl<'a> Unpin for EquityMethodInputs<'a>
impl<'a> UnsafeUnpin for EquityMethodInputs<'a>
impl<'a> UnwindSafe for EquityMethodInputs<'a>
Blanket Implementations§
impl<T> Allocation for T
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> 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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
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.