pub struct AdhocProfile {
pub filing_status: FilingStatus,
pub income: Usd,
pub magi: Option<Usd>,
pub cf_long: Usd,
}Expand description
A validated ad-hoc (non-persisted) profile spec built from the what-if sell flags. filing_status
incomeare mandatory to enter ad-hoc mode;magiis optional (defaults toincome).
Fields§
§filing_status: FilingStatus§income: Usd§magi: Option<Usd>§cf_long: UsdTrait Implementations§
Source§impl Clone for AdhocProfile
impl Clone for AdhocProfile
Source§fn clone(&self) -> AdhocProfile
fn clone(&self) -> AdhocProfile
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 moreAuto Trait Implementations§
impl Freeze for AdhocProfile
impl RefUnwindSafe for AdhocProfile
impl Send for AdhocProfile
impl Sync for AdhocProfile
impl Unpin for AdhocProfile
impl UnsafeUnpin for AdhocProfile
impl UnwindSafe for AdhocProfile
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