pub struct Account {Show 18 fields
pub id: String,
pub name: String,
pub _type: AccountType,
pub on_budget: bool,
pub closed: bool,
pub note: Option<String>,
pub balance: i64,
pub cleared_balance: i64,
pub uncleared_balance: i64,
pub transfer_payee_id: Option<String>,
pub direct_import_linked: Option<bool>,
pub direct_import_in_error: Option<bool>,
pub last_reconciled_at: Option<String>,
pub debt_original_balance: Option<i64>,
pub debt_interest_rates: Option<HashMap<String, i64>>,
pub debt_minimum_payments: Option<HashMap<String, i64>>,
pub debt_escrow_amounts: Option<HashMap<String, i64>>,
pub deleted: bool,
}
Fields§
§id: String
§name: String
§_type: AccountType
§on_budget: bool
Whether this account is on budget or not
closed: bool
Whether this account is closed or not
note: Option<String>
§balance: i64
The current balance of the account in milliunits format
cleared_balance: i64
The current cleared balance of the account in milliunits format
uncleared_balance: i64
The current uncleared balance of the account in milliunits format
transfer_payee_id: Option<String>
The payee id which should be used when transferring to this account
direct_import_linked: Option<bool>
Whether or not the account is linked to a financial institution for automatic transaction import.
direct_import_in_error: Option<bool>
If an account linked to a financial institution (direct_import_linked=true) and the linked connection is not in a healthy state, this will be true.
last_reconciled_at: Option<String>
A date/time specifying when the account was last reconciled.
debt_original_balance: Option<i64>
The original debt/loan account balance, specified in milliunits format.
debt_interest_rates: Option<HashMap<String, i64>>
§debt_minimum_payments: Option<HashMap<String, i64>>
§debt_escrow_amounts: Option<HashMap<String, i64>>
§deleted: bool
Whether or not the account has been deleted. Deleted accounts will only be included in delta requests.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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>,
impl StructuralPartialEq for Account
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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> 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