pub struct Query {Show 17 fields
pub name: String,
pub from: Option<String>,
pub to: Option<String>,
pub as_of: Option<String>,
pub entry: Option<usize>,
pub event: Option<usize>,
pub asset: Option<String>,
pub schedule: Option<String>,
pub party: Option<String>,
pub project: Option<String>,
pub basis: Option<String>,
pub payee: Option<String>,
pub after: Option<usize>,
pub code: Option<String>,
pub new_name: Option<String>,
pub category: Option<String>,
pub account: Option<AccountSpec>,
}Expand description
The question an expectation asks: everything but the answer.
Fields§
§name: StringThe query’s name.
from: Option<String>A period’s first day (raw, YYYY-MM-DD).
to: Option<String>A period’s last day.
as_of: Option<String>An as-of query’s day.
entry: Option<usize>The event whose entry is asked about.
event: Option<usize>The event a run query asks about.
asset: Option<String>The asset asked about.
schedule: Option<String>The schedule asked about.
party: Option<String>The party asked about.
project: Option<String>The project asked about.
basis: Option<String>party_totals’ basis.
payee: Option<String>The payee asked about.
after: Option<usize>The books after event N (the runner has already applied them).
code: Option<String>The account a command names.
new_name: Option<String>The new name a rename command gives.
category: Option<String>The category a set-tax-category command sets.
account: Option<AccountSpec>The account an add-account command adds.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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