pub struct RecurrenceUpdate {
pub title: Option<String>,
pub description: Option<String>,
pub first_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<RecurrenceRepetitionUpdate>>,
pub transactions: Option<Vec<RecurrenceTransactionUpdate>>,
}Fields§
§title: Option<String>§description: Option<String>Not to be confused with the description of the actual transaction(s) being created.
first_date: Option<String>First time the recurring transaction will fire.
repeat_until: Option<String>Date until when the recurring transaction can fire. After that date, it’s basically inactive. 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<RecurrenceRepetitionUpdate>>§transactions: Option<Vec<RecurrenceTransactionUpdate>>Implementations§
Source§impl RecurrenceUpdate
impl RecurrenceUpdate
pub fn new() -> RecurrenceUpdate
Trait Implementations§
Source§impl Clone for RecurrenceUpdate
impl Clone for RecurrenceUpdate
Source§impl Debug for RecurrenceUpdate
impl Debug for RecurrenceUpdate
Source§impl Default for RecurrenceUpdate
impl Default for RecurrenceUpdate
Source§impl<'de> Deserialize<'de> for RecurrenceUpdate
impl<'de> Deserialize<'de> for RecurrenceUpdate
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
Source§impl Display for RecurrenceUpdate
impl Display for RecurrenceUpdate
Source§impl PartialEq for RecurrenceUpdate
impl PartialEq for RecurrenceUpdate
Source§impl Serialize for RecurrenceUpdate
impl Serialize for RecurrenceUpdate
impl StructuralPartialEq for RecurrenceUpdate
Auto Trait Implementations§
impl Freeze for RecurrenceUpdate
impl RefUnwindSafe for RecurrenceUpdate
impl Send for RecurrenceUpdate
impl Sync for RecurrenceUpdate
impl Unpin for RecurrenceUpdate
impl UnsafeUnpin for RecurrenceUpdate
impl UnwindSafe for RecurrenceUpdate
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