pub struct Question {
pub account: Option<String>,
pub amount: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub posted_at: Option<String>,
pub text: Option<String>,
}Fields§
§account: Option<String>Account is the chart number the questioned entry posted to, where one applies.
amount: Option<String>Amount is the figure that makes the question concrete, already FORMATTED for display with its currency symbol — a string, not cents, and not for arithmetic.
id: Option<String>ID is the source transaction the question is about, so answering it leads straight back to the entry that raised it.
kind: Option<String>Kind is what looked wrong: outlier (a charge far above the usual), reversal (a posting undone), roundoff (a balancing plug big enough to be worth explaining), uncosted (revenue booked with no cost matched to it), or overdrawn (a wallet spent past its balance).
posted_at: Option<String>PostedAt anchors the question in time — when the entry it concerns posted.
text: Option<String>Text is the question itself, written for a founder to answer directly.