Skip to main content

NciMeasurement

Struct NciMeasurement 

Source
pub struct NciMeasurement {
    pub entity_code: String,
    pub nci_percentage: Decimal,
    pub method: NciMeasurementMethod,
    pub acquisition_date_fair_value: Option<Decimal>,
    pub nci_share_net_assets: Decimal,
    pub nci_share_profit: Decimal,
    pub total_nci: Decimal,
}
Expand description

Non-controlling interest measurement for a subsidiary.

Captures the NCI share of net assets and current-period profit/loss, computed from the subsidiary’s nci_percentage in SubsidiaryRelationship.

v5.2: extended with an explicit method field plus an optional acquisition_date_fair_value carrying the IFRS 3 § 19 acquisition- date measurement. When method == FullGoodwill the acquisition_date_fair_value is the IFRS 3.19(a) NCI fair-value figure used for total NCI; when Proportionate it can still be recorded for disclosure purposes but does not flow into total_nci.

Fields§

§entity_code: String

Entity code of the subsidiary carrying an NCI.

§nci_percentage: Decimal

NCI percentage (= 100 − parent ownership percentage).

§method: NciMeasurementMethod

IFRS 3 § 19 acquisition-date NCI measurement method. Defaults to Proportionate (matches the v5.0–v5.1 behaviour of NciMeasurement::compute).

§acquisition_date_fair_value: Option<Decimal>

Acquisition-date NCI fair value per IFRS 3.19(a). Required to be Some(fv) when method == FullGoodwill; optional otherwise (carried for disclosure even under the Proportionate method).

§nci_share_net_assets: Decimal

NCI share of the subsidiary’s net assets at period-end.

§nci_share_profit: Decimal

NCI share of the subsidiary’s net income/(loss) for the period.

§total_nci: Decimal

Total NCI recognised in the consolidated balance sheet. Under Proportionate this equals nci_share_net_assets; under FullGoodwill this equals acquisition_date_fair_value + Σ(nci_share_profit − nci_dividends) — the acquisition-date fair value rolled forward. v5.2: full- goodwill rollforward is computed by callers passing prior-period activity into Self::compute_with_method; the NCI rollforward in datasynth-group::aggregate::nci already handles the period-by-period activity.

Implementations§

Source§

impl NciMeasurement

Source

pub fn compute( entity_code: String, nci_percentage: Decimal, net_assets: Decimal, net_income: Decimal, ) -> Self

Compute NCI measurement using the v5.0 simplified path — Proportionate method, no acquisition-date fair value recorded. Equivalent to compute_with_method(.., Proportionate, None, ..).

§Arguments
  • entity_code — entity code of the subsidiary.
  • nci_percentage — NCI percentage (0–100).
  • net_assets — subsidiary net assets at period-end (before NCI split).
  • net_income — subsidiary net income/(loss) for the period.
Source

pub fn compute_with_method( entity_code: String, nci_percentage: Decimal, net_assets: Decimal, net_income: Decimal, method: NciMeasurementMethod, acquisition_date_fair_value: Option<Decimal>, ) -> Self

Compute NCI measurement with an explicit IFRS 3 § 19 method and (for the full-goodwill path) the acquisition-date fair value.

§Arguments
  • entity_code — entity code of the subsidiary.
  • nci_percentage — NCI percentage (0–100).
  • net_assets — subsidiary net assets at period-end (before NCI split).
  • net_income — subsidiary net income/(loss) for the period.
  • method — IFRS 3.19 measurement choice.
  • acquisition_date_fair_value — required when method == FullGoodwill; ignored otherwise (other than being recorded for disclosure). Pass None for proportionate method when no fair-value disclosure is needed.

Under Proportionate: total_nci = nci_share_net_assets. Under FullGoodwill: total_nci = acquisition_date_fair_value (caller’s responsibility to roll forward across periods using the crate::aggregate::nci::compute_nci_rollforward path in datasynth-group). When FullGoodwill is requested without a fair value, falls back to the proportionate calculation and emits a tracing::warn!.

Trait Implementations§

Source§

impl Clone for NciMeasurement

Source§

fn clone(&self) -> NciMeasurement

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NciMeasurement

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for NciMeasurement

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for NciMeasurement

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more