pub struct Account {Show 14 fields
pub id: Uuid,
pub name: String,
pub acct_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<Uuid>,
pub direct_import_linked: bool,
pub direct_import_in_error: bool,
pub last_reconciled_at: Option<DateTime<Utc>>,
pub deleted: bool,
}Expand description
A plan account. Amounts are in milliunits (divide by 1000 for display).
Fields§
§id: Uuid§name: String§acct_type: AccountType§on_budget: bool§closed: bool§note: Option<String>§balance: i64§cleared_balance: i64§uncleared_balance: i64§transfer_payee_id: Option<Uuid>§direct_import_linked: bool§direct_import_in_error: bool§last_reconciled_at: Option<DateTime<Utc>>§deleted: boolTrait 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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnsafeUnpin 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
Mutably borrows from an owned value. Read more