[][src]Struct firefly_iii::models::bill::Bill

pub struct Bill {
    pub created_at: Option<String>,
    pub updated_at: Option<String>,
    pub currency_id: Option<i32>,
    pub currency_code: Option<String>,
    pub currency_symbol: Option<String>,
    pub currency_decimal_places: Option<i32>,
    pub name: String,
    pub amount_min: f64,
    pub amount_max: f64,
    pub date: String,
    pub repeat_freq: RepeatFreq,
    pub skip: Option<i32>,
    pub active: Option<bool>,
    pub notes: Option<String>,
    pub next_expected_match: Option<String>,
    pub pay_dates: Option<Vec<String>>,
    pub paid_dates: Option<Vec<BillPaidDates>>,
}

Fields

created_at: Option<String>updated_at: Option<String>currency_id: Option<i32>

Use either currency_id or currency_code

currency_code: Option<String>

Use either currency_id or currency_code

currency_symbol: Option<String>currency_decimal_places: Option<i32>name: Stringamount_min: f64amount_max: f64date: Stringrepeat_freq: RepeatFreq

How often the bill must be paid.

skip: Option<i32>

How often the bill must be skipped. 1 means a bi-monthly bill.

active: Option<bool>

If the bill is active.

notes: Option<String>next_expected_match: Option<String>

When the bill is expected to be due.

pay_dates: Option<Vec<String>>

Array of future dates when the bill is expected to be paid. Autogenerated.

Array of past transactions when the bill was paid.

Methods

impl Bill[src]

pub fn new(
    name: String,
    amount_min: f64,
    amount_max: f64,
    date: String,
    repeat_freq: RepeatFreq
) -> Bill
[src]

Trait Implementations

impl Debug for Bill[src]

impl<'de> Deserialize<'de> for Bill[src]

impl PartialEq<Bill> for Bill[src]

impl Serialize for Bill[src]

impl StructuralPartialEq for Bill[src]

Auto Trait Implementations

impl RefUnwindSafe for Bill

impl Send for Bill

impl Sync for Bill

impl Unpin for Bill

impl UnwindSafe for Bill

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.