[−][src]Struct firefly_iii::models::account::Account
Fields
created_at: Option<String>
updated_at: Option<String>
name: String
_type: Type
Can only be one one these account types. import, initial-balance and reconciliation cannot be set manually.
iban: Option<String>
bic: Option<String>
account_number: Option<String>
opening_balance: Option<f64>
opening_balance_date: Option<String>
virtual_balance: Option<f64>
current_balance: Option<f64>
current_balance_date: Option<String>
currency_id: Option<i32>
Use either currency_id or currency_code. Defaults to the user's default currency.
currency_code: Option<String>
Use either currency_id or currency_code. Defaults to the user's default currency.
currency_symbol: Option<String>
currency_decimal_places: Option<i32>
active: Option<bool>
If omitted, defaults to true.
include_net_worth: Option<bool>
If omitted, defaults to true.
account_role: Option<AccountRole>
Is only mandatory when the type is asset.
credit_card_type: Option<CreditCardType>
Mandatory when the account_role is ccAsset. Can only be monthlyFull.
monthly_payment_date: Option<String>
Mandatory when the account_role is ccAsset. Moment at which CC payment installments are asked for by the bank.
liability_type: Option<LiabilityType>
Mandatory when type is liability. Specifies the exact type.
liability_amount: Option<f64>
Mandatory when type is liability. Amount of money in the liability. Must be positive.
liability_start_date: Option<String>
Mandatory when type is liability. Start date for the liability.
interest: Option<f32>
Mandatory when type is liability. Interest percentage.
interest_period: Option<InterestPeriod>
Mandatory when type is liability. Period over which the interest is calculated.
notes: Option<String>
Methods
impl Account
[src]
Trait Implementations
impl Debug for Account
[src]
impl<'de> Deserialize<'de> for Account
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Account> for Account
[src]
impl Serialize for Account
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Account
[src]
Auto Trait Implementations
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,