pub struct OptimizeProposal {
pub year: i32,
pub baseline_tax: Usd,
pub optimized_tax: Usd,
pub delta: Usd,
pub per_disposal: Vec<DisposalProposal>,
pub marginal_rates: MarginalRates,
pub approximate: bool,
pub approx_reason: Option<ApproxReason>,
}Expand description
Mode-1 proposal: what-if by default (running this binds NOTHING — §C.2).
Fields§
§year: i32§baseline_tax: Usd§optimized_tax: Usd§delta: Usd§per_disposal: Vec<DisposalProposal>§marginal_rates: MarginalRates§approximate: boolfalse ⇔ the vertex set was FULLY enumerated AND exhaustively scored — i.e. EVERY target
disposal’s pool was ≤ LOT_ENUM_BOUND (complete vertex enumeration, NOT a heuristic subset —
R2-C1), the overall product was ≤ MAX_COMBOS (exhaustive, not coordinate-descent), AND every
contended pool was jointly enumerated. ONLY then is the result the PROVEN global minimum over the
vertex space. true ⇔ ANY of those failed (a disclosed LOCAL / under-enumerated / heuristic-pool
result) — the renderer MUST print the “APPROXIMATE — not a guaranteed global minimum” banner and
the CLI MUST log approx_reason (R0-C1/C3, R2-C1). NEVER render optimized_tax as “the optimum”
when this is true.
approx_reason: Option<ApproxReason>Trait Implementations§
Source§impl Clone for OptimizeProposal
impl Clone for OptimizeProposal
Source§fn clone(&self) -> OptimizeProposal
fn clone(&self) -> OptimizeProposal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OptimizeProposal
impl Debug for OptimizeProposal
impl Eq for OptimizeProposal
Source§impl PartialEq for OptimizeProposal
impl PartialEq for OptimizeProposal
impl StructuralPartialEq for OptimizeProposal
Auto Trait Implementations§
impl Freeze for OptimizeProposal
impl RefUnwindSafe for OptimizeProposal
impl Send for OptimizeProposal
impl Sync for OptimizeProposal
impl Unpin for OptimizeProposal
impl UnsafeUnpin for OptimizeProposal
impl UnwindSafe for OptimizeProposal
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.