Skip to main content

BuilderInput

Struct BuilderInput 

Source
pub struct BuilderInput<'a> {
Show 72 fields pub controls: &'a [InternalControl], pub vendors: &'a [Vendor], pub customers: &'a [Customer], pub employees: &'a [Employee], pub materials: &'a [Material], pub fixed_assets: &'a [FixedAsset], pub compliance_standards: &'a [ComplianceStandard], pub compliance_findings: &'a [ComplianceFinding], pub regulatory_filings: &'a [RegulatoryFiling], pub emissions: &'a [EmissionRecord], pub esg_disclosures: &'a [EsgDisclosure], pub supplier_esg_assessments: &'a [SupplierEsgAssessment], pub climate_scenarios: &'a [ClimateScenario], pub audit_engagements: &'a [AuditEngagement], pub workpapers: &'a [Workpaper], pub audit_findings: &'a [AuditFinding], pub audit_evidence: &'a [AuditEvidence], pub risk_assessments: &'a [RiskAssessment], pub professional_judgments: &'a [ProfessionalJudgment], pub external_confirmations: &'a [ExternalConfirmation], pub confirmation_responses: &'a [ConfirmationResponse], pub audit_procedure_steps: &'a [AuditProcedureStep], pub audit_samples: &'a [AuditSample], pub analytical_procedure_results: &'a [AnalyticalProcedureResult], pub internal_audit_functions: &'a [InternalAuditFunction], pub internal_audit_reports: &'a [InternalAuditReport], pub related_parties: &'a [RelatedParty], pub related_party_transactions: &'a [RelatedPartyTransaction], pub purchase_orders: &'a [PurchaseOrder], pub goods_receipts: &'a [GoodsReceipt], pub vendor_invoices: &'a [VendorInvoice], pub payments: &'a [Payment], pub sales_orders: &'a [SalesOrder], pub deliveries: &'a [Delivery], pub customer_invoices: &'a [CustomerInvoice], pub sourcing_projects: &'a [SourcingProject], pub supplier_qualifications: &'a [SupplierQualification], pub rfx_events: &'a [RfxEvent], pub supplier_bids: &'a [SupplierBid], pub bid_evaluations: &'a [BidEvaluation], pub procurement_contracts: &'a [ProcurementContract], pub payroll_runs: &'a [PayrollRun], pub time_entries: &'a [TimeEntry], pub expense_reports: &'a [ExpenseReport], pub production_orders: &'a [ProductionOrder], pub quality_inspections: &'a [QualityInspection], pub cycle_counts: &'a [CycleCount], pub banking_customers: &'a [BankingCustomer], pub bank_accounts: &'a [BankAccount], pub bank_transactions: &'a [BankTransaction], pub bank_reconciliations: &'a [BankReconciliation], pub process_evolution_events: &'a [ProcessEvolutionEvent], pub organizational_events: &'a [OrganizationalEvent], pub disruption_events: &'a [DisruptionEvent], pub ic_matched_pairs: &'a [ICMatchedPair], pub elimination_entries: &'a [EliminationEntry], pub ocpm_event_log: Option<&'a OcpmEventLog>, pub chart_of_accounts: Option<&'a ChartOfAccounts>, pub journal_entries: &'a [JournalEntry], pub tax_jurisdictions: &'a [TaxJurisdiction], pub tax_codes: &'a [TaxCode], pub tax_lines: &'a [TaxLine], pub tax_returns: &'a [TaxReturn], pub tax_provisions: &'a [TaxProvision], pub withholding_records: &'a [WithholdingTaxRecord], pub cash_positions: &'a [CashPosition], pub cash_forecasts: &'a [CashForecast], pub hedge_relationships: &'a [HedgeRelationship], pub debt_instruments: &'a [DebtInstrument], pub projects: &'a [Project], pub earned_value_metrics: &'a [EarnedValueMetric], pub project_milestones: &'a [ProjectMilestone],
}
Expand description

Input data for HypergraphBuilder::add_all_ordered.

Groups all entity slices by phase so the builder can enforce the correct insertion order: governance first, then critical L2 entities (audit), then volume L2 entities (banking, P2P, etc.), then L3 accounting.

All fields are optional — pass empty slices for phases you don’t need.

Fields§

§controls: &'a [InternalControl]

Internal controls (L1).

§vendors: &'a [Vendor]

Vendors (L1 master data).

§customers: &'a [Customer]

Customers (L1 master data).

§employees: &'a [Employee]

Employees (L1 master data).

§materials: &'a [Material]

Materials (L1/L3 master data).

§fixed_assets: &'a [FixedAsset]

Fixed assets (L1/L3 master data).

§compliance_standards: &'a [ComplianceStandard]

Compliance standards (L1 governance).

§compliance_findings: &'a [ComplianceFinding]

Compliance findings (L2 events).

§regulatory_filings: &'a [RegulatoryFiling]

Regulatory filings (L2 events).

§emissions: &'a [EmissionRecord]

Emission records (L1 ESG).

§esg_disclosures: &'a [EsgDisclosure]

ESG disclosures (L1 ESG).

§supplier_esg_assessments: &'a [SupplierEsgAssessment]

Supplier ESG assessments (L1 ESG).

§climate_scenarios: &'a [ClimateScenario]

Climate scenarios (L1 ESG).

§audit_engagements: &'a [AuditEngagement]

Audit engagements.

§workpapers: &'a [Workpaper]

Workpapers.

§audit_findings: &'a [AuditFinding]

Audit findings.

§audit_evidence: &'a [AuditEvidence]

Audit evidence.

§risk_assessments: &'a [RiskAssessment]

Risk assessments.

§professional_judgments: &'a [ProfessionalJudgment]

Professional judgments.

§external_confirmations: &'a [ExternalConfirmation]

External confirmation requests (ISA 505).

§confirmation_responses: &'a [ConfirmationResponse]

Confirmation responses (ISA 505).

§audit_procedure_steps: &'a [AuditProcedureStep]

Audit procedure steps (ISA 330/530).

§audit_samples: &'a [AuditSample]

Audit samples (ISA 530).

§analytical_procedure_results: &'a [AnalyticalProcedureResult]

Analytical procedure results (ISA 520).

§internal_audit_functions: &'a [InternalAuditFunction]

Internal audit functions assessed (ISA 610).

§internal_audit_reports: &'a [InternalAuditReport]

Internal audit reports reviewed (ISA 610).

§related_parties: &'a [RelatedParty]

Related parties identified (ISA 550).

§related_party_transactions: &'a [RelatedPartyTransaction]

Related party transactions (ISA 550).

§purchase_orders: &'a [PurchaseOrder]

P2P: Purchase orders.

§goods_receipts: &'a [GoodsReceipt]

P2P: Goods receipts.

§vendor_invoices: &'a [VendorInvoice]

P2P: Vendor invoices.

§payments: &'a [Payment]

P2P: Payments.

§sales_orders: &'a [SalesOrder]

O2C: Sales orders.

§deliveries: &'a [Delivery]

O2C: Deliveries.

§customer_invoices: &'a [CustomerInvoice]

O2C: Customer invoices.

§sourcing_projects: &'a [SourcingProject]

S2C: Sourcing projects.

§supplier_qualifications: &'a [SupplierQualification]

S2C: Supplier qualifications.

§rfx_events: &'a [RfxEvent]

S2C: RFx events.

§supplier_bids: &'a [SupplierBid]

S2C: Supplier bids.

§bid_evaluations: &'a [BidEvaluation]

S2C: Bid evaluations.

§procurement_contracts: &'a [ProcurementContract]

S2C: Procurement contracts.

§payroll_runs: &'a [PayrollRun]

H2R: Payroll runs.

§time_entries: &'a [TimeEntry]

H2R: Time entries.

§expense_reports: &'a [ExpenseReport]

H2R: Expense reports.

§production_orders: &'a [ProductionOrder]

MFG: Production orders.

§quality_inspections: &'a [QualityInspection]

MFG: Quality inspections.

§cycle_counts: &'a [CycleCount]

MFG: Cycle counts.

§banking_customers: &'a [BankingCustomer]

Banking customers.

§bank_accounts: &'a [BankAccount]

Bank accounts.

§bank_transactions: &'a [BankTransaction]

Bank transactions.

§bank_reconciliations: &'a [BankReconciliation]

Bank reconciliations.

§process_evolution_events: &'a [ProcessEvolutionEvent]

Temporal: process evolution events.

§organizational_events: &'a [OrganizationalEvent]

Temporal: organizational events.

§disruption_events: &'a [DisruptionEvent]

Temporal: disruption events.

§ic_matched_pairs: &'a [ICMatchedPair]

Intercompany matched pairs.

§elimination_entries: &'a [EliminationEntry]

Intercompany elimination entries.

§ocpm_event_log: Option<&'a OcpmEventLog>

OCPM event log (optional).

§chart_of_accounts: Option<&'a ChartOfAccounts>

Chart of accounts.

§journal_entries: &'a [JournalEntry]

Journal entries.

§tax_jurisdictions: &'a [TaxJurisdiction]

Tax jurisdictions.

§tax_codes: &'a [TaxCode]

Tax codes.

§tax_lines: &'a [TaxLine]

Tax lines.

§tax_returns: &'a [TaxReturn]

Tax returns.

§tax_provisions: &'a [TaxProvision]

Tax provisions.

§withholding_records: &'a [WithholdingTaxRecord]

Withholding tax records.

§cash_positions: &'a [CashPosition]

Treasury: cash positions.

§cash_forecasts: &'a [CashForecast]

Treasury: cash forecasts.

§hedge_relationships: &'a [HedgeRelationship]

Treasury: hedge relationships.

§debt_instruments: &'a [DebtInstrument]

Treasury: debt instruments.

§projects: &'a [Project]

Project accounting: projects.

§earned_value_metrics: &'a [EarnedValueMetric]

Project accounting: earned value metrics.

§project_milestones: &'a [ProjectMilestone]

Project accounting: milestones.

Trait Implementations§

Source§

impl<'a> Default for BuilderInput<'a>

Source§

fn default() -> BuilderInput<'a>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for BuilderInput<'a>

§

impl<'a> RefUnwindSafe for BuilderInput<'a>

§

impl<'a> Send for BuilderInput<'a>

§

impl<'a> Sync for BuilderInput<'a>

§

impl<'a> Unpin for BuilderInput<'a>

§

impl<'a> UnsafeUnpin for BuilderInput<'a>

§

impl<'a> UnwindSafe for BuilderInput<'a>

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> 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<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