pub enum Loaded {
Draft {
ri: ReturnInputs,
parked: bool,
},
Committed(ReturnInputs),
Fresh,
}Expand description
The working return for a year, resolved through the §6.1 precedence: a draft shadows the committed row.
Draft { ri, parked }— a version-current draft exists (the crash-recovery scratch wins over committed).Committed(ri)— no draft; the committedreturn_inputsrow is the working return.Fresh— neither exists; start a blank return.
Variants§
Auto Trait Implementations§
impl Freeze for Loaded
impl RefUnwindSafe for Loaded
impl Send for Loaded
impl Sync for Loaded
impl Unpin for Loaded
impl UnsafeUnpin for Loaded
impl UnwindSafe for Loaded
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