pub struct InsertTransactionArgs {Show 21 fields
pub date: Date,
pub amount: Amount,
pub description: Option<String>,
pub account: Option<String>,
pub account_number: Option<String>,
pub institution: Option<String>,
pub month: Option<Date>,
pub week: Option<Date>,
pub full_description: Option<String>,
pub account_id: Option<String>,
pub check_number: Option<String>,
pub date_added: Option<Date>,
pub merchant_name: Option<String>,
pub category_hint: Option<String>,
pub category: Option<String>,
pub note: Option<String>,
pub tags: Option<String>,
pub categorized_date: Option<Date>,
pub statement: Option<String>,
pub metadata: Option<String>,
pub other_fields: BTreeMap<String, String>,
}Expand description
Args for the tiller insert transaction command.
Inserts a new transaction into the local SQLite database. A unique transaction ID is
automatically generated with a user- prefix.
The date and amount fields are required. All other fields are optional.
Changes are made locally only. Use sync up to upload local changes to the Google Sheet.
See tiller documentation for more information about the semantic meanings of transaction columns: https://help.tiller.com/en/articles/432681-transactions-sheet-columns
Fields§
§date: DateThe posted date (when the transaction cleared) or transaction date (when the transaction occurred). Posted date takes priority except for investment accounts. Required.
amount: AmountTransaction value where income and credits are positive; expenses and debits are negative. Required.
description: Option<String>Cleaned-up merchant information from your bank.
account: Option<String>The account name as it appears on your bank’s website or your custom nickname from Tiller Console.
account_number: Option<String>Last four digits of the bank account number (e.g., “xxxx1102”).
institution: Option<String>Financial institution name (e.g., “Bank of America”).
month: Option<Date>First day of the transaction’s month, useful for pivot tables and reporting.
week: Option<Date>Sunday date of the transaction’s week for weekly breakdowns.
full_description: Option<String>Unmodified merchant details directly from your bank, including codes and numbers.
account_id: Option<String>A unique ID assigned to your accounts by Tiller’s systems. Important for troubleshooting; do not delete.
check_number: Option<String>Check number when available for checks you write.
date_added: Option<Date>When the transaction was added to the spreadsheet.
merchant_name: Option<String>Normalized merchant name standardizing variants (e.g., “Amazon” for multiple Amazon formats). Optional automated column.
category_hint: Option<String>Data provider’s category suggestion based on merchant knowledge. Optional automated column; not included in core templates.
category: Option<String>User-assigned category. Non-automated by default to promote spending awareness; AutoCat available for automation. Must reference an existing category name.
note: Option<String>Custom notes about specific transactions. Leveraged by Category Rollup reports.
User-defined tags for additional transaction categorization.
categorized_date: Option<Date>Date when AutoCat automatically categorized or updated a transaction. Google Sheets Add-on column.
statement: Option<String>For reconciling transactions to bank statements. Google Sheets Add-on column.
metadata: Option<String>Supports workflows including CSV imports. Google Sheets Add-on column.
other_fields: BTreeMap<String, String>Custom columns not part of the standard Tiller schema.
Trait Implementations§
Source§impl Args for InsertTransactionArgs
impl Args for InsertTransactionArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for InsertTransactionArgs
impl Clone for InsertTransactionArgs
Source§fn clone(&self) -> InsertTransactionArgs
fn clone(&self) -> InsertTransactionArgs
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InsertTransactionArgs
impl Debug for InsertTransactionArgs
Source§impl<'de> Deserialize<'de> for InsertTransactionArgs
impl<'de> Deserialize<'de> for InsertTransactionArgs
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>,
Source§impl FromArgMatches for InsertTransactionArgs
impl FromArgMatches for InsertTransactionArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl JsonSchema for InsertTransactionArgs
impl JsonSchema for InsertTransactionArgs
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl Parser for InsertTransactionArgs
impl Parser for InsertTransactionArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for InsertTransactionArgs
impl RefUnwindSafe for InsertTransactionArgs
impl Send for InsertTransactionArgs
impl Sync for InsertTransactionArgs
impl Unpin for InsertTransactionArgs
impl UnwindSafe for InsertTransactionArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more