pub struct SubsidiaryRelationship {
pub entity_code: String,
pub ownership_percentage: Decimal,
pub voting_rights_percentage: Decimal,
pub consolidation_method: GroupConsolidationMethod,
pub acquisition_date: Option<NaiveDate>,
pub nci_percentage: Decimal,
pub functional_currency: String,
}Expand description
Relationship between the group parent and a subsidiary entity.
Fields§
§entity_code: StringEntity code of the subsidiary.
ownership_percentage: DecimalPercentage of shares held by the parent (0–100).
voting_rights_percentage: DecimalPercentage of voting rights held by the parent (0–100).
consolidation_method: GroupConsolidationMethodAccounting consolidation method applied to this subsidiary.
acquisition_date: Option<NaiveDate>Date the parent acquired control of this subsidiary.
nci_percentage: DecimalNon-controlling interest percentage (= 100 − ownership_percentage).
functional_currency: StringFunctional currency code of the subsidiary (e.g. “USD”, “EUR”).
Implementations§
Source§impl SubsidiaryRelationship
impl SubsidiaryRelationship
Sourcepub fn new_full(entity_code: String, functional_currency: String) -> Self
pub fn new_full(entity_code: String, functional_currency: String) -> Self
Create a fully-owned (100 %) subsidiary with full consolidation.
Sourcepub fn new_with_ownership(
entity_code: String,
ownership_percentage: Decimal,
functional_currency: String,
acquisition_date: Option<NaiveDate>,
) -> Self
pub fn new_with_ownership( entity_code: String, ownership_percentage: Decimal, functional_currency: String, acquisition_date: Option<NaiveDate>, ) -> Self
Create a subsidiary with a specified ownership percentage.
The consolidation method and NCI are derived automatically from the ownership percentage using IFRS 10 / IAS 28 thresholds.
Trait Implementations§
Source§impl Clone for SubsidiaryRelationship
impl Clone for SubsidiaryRelationship
Source§fn clone(&self) -> SubsidiaryRelationship
fn clone(&self) -> SubsidiaryRelationship
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubsidiaryRelationship
impl Debug for SubsidiaryRelationship
Source§impl<'de> Deserialize<'de> for SubsidiaryRelationship
impl<'de> Deserialize<'de> for SubsidiaryRelationship
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
Auto Trait Implementations§
impl Freeze for SubsidiaryRelationship
impl RefUnwindSafe for SubsidiaryRelationship
impl Send for SubsidiaryRelationship
impl Sync for SubsidiaryRelationship
impl Unpin for SubsidiaryRelationship
impl UnsafeUnpin for SubsidiaryRelationship
impl UnwindSafe for SubsidiaryRelationship
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