pub struct TransactionSummary {Show 19 fields
pub id: String,
pub date: NaiveDate,
pub amount: i64,
pub memo: Option<String>,
pub cleared: ClearedStatus,
pub approved: bool,
pub flag_color: Option<FlagColor>,
pub flag_name: Option<String>,
pub account_id: Uuid,
pub payee_id: Option<Uuid>,
pub category_id: Option<Uuid>,
pub matched_transaction_id: Option<String>,
pub import_id: Option<String>,
pub import_payee_name: Option<String>,
pub import_payee_name_original: Option<String>,
pub transfer_account_id: Option<Uuid>,
pub transfer_transaction_id: Option<String>,
pub debt_transaction_type: Option<DebtTransactionType>,
pub deleted: bool,
}Expand description
A transaction as returned in the plan export (PlanDetails.transactions). A reduced form of
Transaction — no account_name, payee_name, category_name, or subtransactions.
Amounts are in milliunits (divide by 1000 for display).
Fields§
§id: String§date: NaiveDate§amount: i64§memo: Option<String>§cleared: ClearedStatus§approved: bool§flag_color: Option<FlagColor>§flag_name: Option<String>§account_id: Uuid§payee_id: Option<Uuid>§category_id: Option<Uuid>§matched_transaction_id: Option<String>§import_id: Option<String>§import_payee_name: Option<String>§import_payee_name_original: Option<String>§transfer_account_id: Option<Uuid>§transfer_transaction_id: Option<String>§debt_transaction_type: Option<DebtTransactionType>§deleted: boolTrait Implementations§
Source§impl Clone for TransactionSummary
impl Clone for TransactionSummary
Source§fn clone(&self) -> TransactionSummary
fn clone(&self) -> TransactionSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransactionSummary
impl Debug for TransactionSummary
Source§impl<'de> Deserialize<'de> for TransactionSummary
impl<'de> Deserialize<'de> for TransactionSummary
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransactionSummary
impl PartialEq for TransactionSummary
Source§impl Serialize for TransactionSummary
impl Serialize for TransactionSummary
impl StructuralPartialEq for TransactionSummary
Auto Trait Implementations§
impl Freeze for TransactionSummary
impl RefUnwindSafe for TransactionSummary
impl Send for TransactionSummary
impl Sync for TransactionSummary
impl Unpin for TransactionSummary
impl UnsafeUnpin for TransactionSummary
impl UnwindSafe for TransactionSummary
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