Struct billecta::RecurrenceDetails
source · pub struct RecurrenceDetails {
pub recurrence_interval: RecurrenceIntervalType,
pub monthly_recurrence: Option<MonthlyRecurrence>,
pub yearly_recurrence: Option<YearlyRecurrence>,
pub quarterly_recurrence: Option<QuarterlyRecurrence>,
pub start: DateTime,
pub no_end_date: bool,
pub end: Option<DateTime>,
}
Fields§
§recurrence_interval: RecurrenceIntervalType
§monthly_recurrence: Option<MonthlyRecurrence>
§yearly_recurrence: Option<YearlyRecurrence>
§quarterly_recurrence: Option<QuarterlyRecurrence>
§start: DateTime
§no_end_date: bool
§end: Option<DateTime>
Implementations§
source§impl RecurrenceDetails
impl RecurrenceDetails
pub fn new( recurrence_interval: RecurrenceIntervalType, start: DateTime, no_end_date: bool, ) -> Self
Trait Implementations§
source§impl Clone for RecurrenceDetails
impl Clone for RecurrenceDetails
source§fn clone(&self) -> RecurrenceDetails
fn clone(&self) -> RecurrenceDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RecurrenceDetails
impl Debug for RecurrenceDetails
source§impl<'de> Deserialize<'de> for RecurrenceDetails
impl<'de> Deserialize<'de> for RecurrenceDetails
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
Auto Trait Implementations§
impl Freeze for RecurrenceDetails
impl RefUnwindSafe for RecurrenceDetails
impl Send for RecurrenceDetails
impl Sync for RecurrenceDetails
impl Unpin for RecurrenceDetails
impl UnwindSafe for RecurrenceDetails
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)