pub struct MoneyPair {
pub dollars_field: String,
pub cents_field: String,
}Expand description
A dollars-field + cents-field PAIR (the 2017 Schedule SE / Form 1040 / Form 8283 split every money
amount into a whole-dollars field and a 2-digit cents field). The geometric oracle treats the pair
as ONE logical cell at the dollars-field geometry (the cents field rides along as an authorized
but geometry-exempt write). Because both fields descend from the same AcroForm root, merge_copies
(which renames only the root /T) rewrites BOTH names as a unit — so overflow is safe.
Fields§
§dollars_field: StringThe whole-dollars field (the one the geometry oracle checks — column-x + row/descent).
cents_field: StringThe 2-digit cents field (an authorized write; NOT independently geometry-checked).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MoneyPair
impl<'de> Deserialize<'de> for MoneyPair
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MoneyPair
impl RefUnwindSafe for MoneyPair
impl Send for MoneyPair
impl Sync for MoneyPair
impl Unpin for MoneyPair
impl UnsafeUnpin for MoneyPair
impl UnwindSafe for MoneyPair
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