pub struct OperatingSegment {
pub segment_id: String,
pub name: String,
pub segment_type: SegmentType,
pub revenue_external: Decimal,
pub revenue_intersegment: Decimal,
pub operating_profit: Decimal,
pub total_assets: Decimal,
pub total_liabilities: Decimal,
pub capital_expenditure: Decimal,
pub depreciation_amortization: Decimal,
pub period: String,
pub company_code: String,
}Expand description
A single IFRS 8 / ASC 280 reportable operating segment.
All monetary fields are expressed in the entity’s reporting currency.
Fields§
§segment_id: StringUnique identifier for this segment record (deterministic UUID)
name: StringHuman-readable segment name (e.g. “North America”, “Software Products”)
segment_type: SegmentTypeBasis on which the segment is identified
revenue_external: DecimalRevenue from transactions with external customers
revenue_intersegment: DecimalRevenue from transactions with other operating segments (eliminated on consolidation)
operating_profit: DecimalSegment operating profit (before corporate overhead and group tax)
total_assets: DecimalTotal assets allocated to this segment
total_liabilities: DecimalTotal liabilities allocated to this segment
capital_expenditure: DecimalCapital expenditure (additions to PP&E and intangibles) in the period
depreciation_amortization: DecimalDepreciation and amortisation charged in the period
period: StringFiscal period label for which these figures are reported (e.g. “2024-03”)
company_code: StringCompany / group these segments belong to
Trait Implementations§
Source§impl Clone for OperatingSegment
impl Clone for OperatingSegment
Source§fn clone(&self) -> OperatingSegment
fn clone(&self) -> OperatingSegment
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 OperatingSegment
impl Debug for OperatingSegment
Source§impl<'de> Deserialize<'de> for OperatingSegment
impl<'de> Deserialize<'de> for OperatingSegment
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 OperatingSegment
impl RefUnwindSafe for OperatingSegment
impl Send for OperatingSegment
impl Sync for OperatingSegment
impl Unpin for OperatingSegment
impl UnsafeUnpin for OperatingSegment
impl UnwindSafe for OperatingSegment
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.