pub struct JudgmentContext {
pub materiality_amount: Option<Decimal>,
pub materiality_basis: Option<String>,
pub materiality_percentage: Option<Decimal>,
pub high_risk_count: usize,
pub high_risk_areas: Vec<String>,
pub going_concern_doubt: bool,
pub finding_count: usize,
pub total_misstatement: Option<Decimal>,
}Expand description
Context for coherent judgment generation.
Carries real audit results (materiality, risk profile, findings) so that the generated judgment narratives reference concrete numbers instead of generic placeholders.
Fields§
§materiality_amount: Option<Decimal>Overall materiality amount from ISA 320 calculation.
materiality_basis: Option<String>Materiality benchmark name (e.g. “Revenue”, “Pre-tax Income”).
materiality_percentage: Option<Decimal>Percentage applied to the benchmark (e.g. 0.005 for 0.5%).
high_risk_count: usizeNumber of account areas assessed as high risk.
high_risk_areas: Vec<String>Names of account areas assessed as high risk.
going_concern_doubt: boolWhether the going-concern assessment flagged material uncertainty.
finding_count: usizeNumber of audit findings / deficiencies in the bag.
total_misstatement: Option<Decimal>Aggregate misstatement amount (if computable).
Trait Implementations§
Source§impl Clone for JudgmentContext
impl Clone for JudgmentContext
Source§fn clone(&self) -> JudgmentContext
fn clone(&self) -> JudgmentContext
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 JudgmentContext
impl Debug for JudgmentContext
Source§impl Default for JudgmentContext
impl Default for JudgmentContext
Source§fn default() -> JudgmentContext
fn default() -> JudgmentContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JudgmentContext
impl RefUnwindSafe for JudgmentContext
impl Send for JudgmentContext
impl Sync for JudgmentContext
impl Unpin for JudgmentContext
impl UnsafeUnpin for JudgmentContext
impl UnwindSafe for JudgmentContext
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