pub struct SubTransaction {
pub id: String,
pub transaction_id: String,
pub amount: i64,
pub memo: Option<String>,
pub payee_id: Option<String>,
pub payee_name: Option<String>,
pub category_id: Option<String>,
pub category_name: Option<String>,
pub transfer_account_id: Option<String>,
pub transfer_transaction_id: Option<String>,
pub deleted: bool,
}Fields§
§id: String§transaction_id: String§amount: i64The subtransaction amount in milliunits format
memo: Option<String>§payee_id: Option<String>§payee_name: Option<String>§category_id: Option<String>§category_name: Option<String>§transfer_account_id: Option<String>If a transfer, the account_id which the subtransaction transfers to
transfer_transaction_id: Option<String>If a transfer, the id of transaction on the other side of the transfer
deleted: boolWhether or not the subtransaction has been deleted. Deleted subtransactions will only be included in delta requests.
Implementations§
Trait Implementations§
Source§impl Clone for SubTransaction
impl Clone for SubTransaction
Source§fn clone(&self) -> SubTransaction
fn clone(&self) -> SubTransaction
Returns a duplicate of the value. Read more
1.0.0 · 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 SubTransaction
impl Debug for SubTransaction
Source§impl<'de> Deserialize<'de> for SubTransaction
impl<'de> Deserialize<'de> for SubTransaction
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 SubTransaction
impl PartialEq for SubTransaction
Source§impl Serialize for SubTransaction
impl Serialize for SubTransaction
impl StructuralPartialEq for SubTransaction
Auto Trait Implementations§
impl Freeze for SubTransaction
impl RefUnwindSafe for SubTransaction
impl Send for SubTransaction
impl Sync for SubTransaction
impl Unpin for SubTransaction
impl UnwindSafe for SubTransaction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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