pub struct Resolved {
pub profile: Option<TaxProfile>,
pub provenance: Provenance,
pub refusal: Option<Refusal>,
}Expand description
The resolved profile + its provenance (+ any refusal). profile is None for Provenance::Missing,
and for Provenance::ReturnInputs when the inputs were refused by the fail-closed guard or the year
lacks full-return tables — refusal distinguishes those two.
Fields§
§profile: Option<TaxProfile>§provenance: Provenance§refusal: Option<Refusal>Set (with profile: None) when ReturnInputs were present but the refuse-guard refused them.
Implementations§
Source§impl Resolved
impl Resolved
Sourcepub fn is_return_inputs_uncomputable(&self) -> bool
pub fn is_return_inputs_uncomputable(&self) -> bool
ReturnInputs were present but no profile could be produced — either the refuse-guard refused them
(refusal is Some) or the year has no full-return tables (v1 = TY2024; refusal is None).
Callers MUST surface this, never treat the year as profile-less (which would be a wrong number).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnsafeUnpin for Resolved
impl UnwindSafe for Resolved
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