[][src]Struct firefly_iii::models::recurrence::Recurrence

pub struct Recurrence {
    pub created_at: Option<String>,
    pub updated_at: Option<String>,
    pub _type: Type,
    pub title: String,
    pub description: Option<String>,
    pub first_date: String,
    pub latest_date: Option<String>,
    pub repeat_until: Option<String>,
    pub nr_of_repetitions: Option<i32>,
    pub apply_rules: Option<bool>,
    pub active: Option<bool>,
    pub notes: Option<String>,
    pub repetitions: Option<Vec<RecurrenceRepetition>>,
    pub transactions: Option<Vec<RecurrenceTransaction>>,
}

Fields

created_at: Option<String>updated_at: Option<String>_type: Typetitle: Stringdescription: Option<String>

Not to be confused with the description of the actual transaction(s) being created.

first_date: String

First time the recurring transaction will fire. Must be after today.

latest_date: Option<String>

First time the recurring transaction will fire. Must be after today.

repeat_until: Option<String>

Date until the recurring transaction can fire. Use either this field or repetitions.

nr_of_repetitions: Option<i32>

Max number of created transactions. Use either this field or repeat_until.

apply_rules: Option<bool>

Whether or not to fire the rules after the creation of a transaction.

active: Option<bool>

If the recurrence is even active.

notes: Option<String>repetitions: Option<Vec<RecurrenceRepetition>>transactions: Option<Vec<RecurrenceTransaction>>

Methods

impl Recurrence[src]

pub fn new(_type: Type, title: String, first_date: String) -> Recurrence[src]

Trait Implementations

impl Debug for Recurrence[src]

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

impl PartialEq<Recurrence> for Recurrence[src]

impl Serialize for Recurrence[src]

impl StructuralPartialEq for Recurrence[src]

Auto Trait Implementations

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.