pub struct EntityConfig {Show 15 fields
pub code: String,
pub name: Option<String>,
pub country: String,
pub functional_currency: String,
pub scoping_profile: String,
pub consolidation_method: ConsolidationMethod,
pub ownership_percent: Option<Decimal>,
pub parent_code: Option<String>,
pub acquisition_date: Option<NaiveDate>,
pub accounting_framework: Option<String>,
pub industry: Option<String>,
pub rows: Option<u64>,
pub ownership_changes: Vec<OwnershipChangeEntry>,
pub hyperinflation_status: HyperinflationStatus,
pub overrides: BTreeMap<String, Value>,
}Fields§
§code: String§name: Option<String>§country: String§functional_currency: String§scoping_profile: String§consolidation_method: ConsolidationMethod§ownership_percent: Option<Decimal>§parent_code: Option<String>§acquisition_date: Option<NaiveDate>§accounting_framework: Option<String>§industry: Option<String>§rows: Option<u64>§ownership_changes: Vec<OwnershipChangeEntry>v5.2 — IFRS 3 § 41-42 / IFRS 10 § 23 / IFRS 10.B97
ownership-change events that affected this entity during the
reporting period. Each entry describes one mid-period
transition: control gained (new acquisition or increase from
associate), control increased / decreased within consolidation
(equity-transaction treatment per IFRS 10.23), or control lost
(deconsolidation per IFRS 10.B97). Empty by default; the
shard runner emits intercompany/ownership_change_events.json
per entity only when this list is non-empty so v5.0–v5.1
archives stay byte-identical. The aggregate-phase rollforward
wiring (consuming these events to drive proper IFRS 3 / IFRS
10 NCI treatment) is a follow-up PR.
hyperinflation_status: HyperinflationStatusv5.2 — IAS 29 hyperinflationary status of this entity’s
functional currency. Defaults to NotHyperinflationary,
preserving v5.0–v5.1 behaviour byte-for-byte. When set to
Hyperinflationary, the aggregate phase will (in a follow-up
PR) apply IAS 29 § 12 restatement to non-monetary items
before IAS 21 closing-rate translation per IAS 21 § 42(b).
overrides: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for EntityConfig
impl Clone for EntityConfig
Source§fn clone(&self) -> EntityConfig
fn clone(&self) -> EntityConfig
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 EntityConfig
impl Debug for EntityConfig
Source§impl<'de> Deserialize<'de> for EntityConfig
impl<'de> Deserialize<'de> for EntityConfig
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 EntityConfig
impl RefUnwindSafe for EntityConfig
impl Send for EntityConfig
impl Sync for EntityConfig
impl Unpin for EntityConfig
impl UnsafeUnpin for EntityConfig
impl UnwindSafe for EntityConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.