pub struct EventRow {
pub reff: String,
pub kind: &'static str,
pub date: TaxDate,
pub sat: Option<Sat>,
pub usd: Option<Usd>,
pub decision_ref: Option<String>,
}Expand description
UX-P4-11: one row of events list — a decidable event and its decision status. The reff is the
canonical event reference (EventId::canonical()) a reconcile verb accepts verbatim.
Fields§
§reff: StringThe canonical event ref (pasteable into a reconcile verb). Named reff — ref is reserved.
kind: &'static strA stable human kind tag: transfer-in | transfer-out | unclassified | import-conflict | income.
date: TaxDateThe event’s tax-timezone calendar date.
sat: Option<Sat>Principal sats, when the payload carries a structured amount (None for unclassified/conflict).
usd: Option<Usd>USD value at the event-date close (stored FMV for income; else priced), when resolvable.
decision_ref: Option<String>Some("decision|N") when a live (non-voided) decision targets this event; None = still
decidable (a pseudo-defaulted event is decidable — its default is never persisted).
Auto Trait Implementations§
impl Freeze for EventRow
impl RefUnwindSafe for EventRow
impl Send for EventRow
impl Sync for EventRow
impl Unpin for EventRow
impl UnsafeUnpin for EventRow
impl UnwindSafe for EventRow
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