[−][src]Struct firefly_iii::models::recurrence_repetition::RecurrenceRepetition
Fields
id: Option<i32>
created_at: Option<String>
updated_at: Option<String>
_type: Type
The type of the repetition. ndom means: the n-th weekday of the month, where you can also specify which day of the week.
moment: String
Information that defined the type of repetition. - For 'daily', this is empty. - For 'weekly', it is day of the week between 1 and 7 (Monday - Sunday). - For 'ndom', it is '1,2' or '4,5' or something else, where the first number is the week in the month, and the second number is the day in the week (between 1 and 7). '2,3' means: the 2nd Wednesday of the month - For 'monthly' it is the day of the month (1 - 31) - For yearly, it is a full date, ie '2018-09-17'. The year you use does not matter.
skip: Option<i32>
How many occurrences to skip. 0 means skip nothing. 1 means every other.
weekend: Option<i32>
How to respond when the recurring transaction falls in the weekend. Possible values: 1. Do nothing, just create it 2. Create no transaction. 3. Skip to the previous Friday. 4. Skip to the next Monday.
description: Option<String>
Auto-generated repetition description.
occurrences: Option<Vec<String>>
Array of future dates when the repetition will apply to. Auto generated.
Methods
impl RecurrenceRepetition
[src]
pub fn new(_type: Type, moment: String) -> RecurrenceRepetition
[src]
Trait Implementations
impl Debug for RecurrenceRepetition
[src]
impl<'de> Deserialize<'de> for RecurrenceRepetition
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<RecurrenceRepetition> for RecurrenceRepetition
[src]
fn eq(&self, other: &RecurrenceRepetition) -> bool
[src]
fn ne(&self, other: &RecurrenceRepetition) -> bool
[src]
impl Serialize for RecurrenceRepetition
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for RecurrenceRepetition
[src]
Auto Trait Implementations
impl RefUnwindSafe for RecurrenceRepetition
impl Send for RecurrenceRepetition
impl Sync for RecurrenceRepetition
impl Unpin for RecurrenceRepetition
impl UnwindSafe for RecurrenceRepetition
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>,