pub struct AppointmentOccurrenceDate {
pub end_date: DateOrDateTime,
pub i_cal_uid: String,
pub start_date: DateOrDateTime,
pub extra: Map<String, Value>,
}Expand description
Calculated start/end for one occurrence. All-day dates use YYYY-MM-DD with an inclusive end; timed dates use UTC timestamps.
Fields§
§end_date: DateOrDateTimeUse a UTC timestamp for a timed appointment or YYYY-MM-DD for an all-day appointment. ChurchTools interprets dates in the installation’s timezone. Seconds on appointment input are discarded.
i_cal_uid: StringStable iCalendar UID for this occurrence.
start_date: DateOrDateTimeUse a UTC timestamp for a timed appointment or YYYY-MM-DD for an all-day appointment. ChurchTools interprets dates in the installation’s timezone. Seconds on appointment input are discarded.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for AppointmentOccurrenceDate
impl Clone for AppointmentOccurrenceDate
Source§impl Debug for AppointmentOccurrenceDate
impl Debug for AppointmentOccurrenceDate
Source§impl Default for AppointmentOccurrenceDate
impl Default for AppointmentOccurrenceDate
Source§impl<'de> Deserialize<'de> for AppointmentOccurrenceDate
impl<'de> Deserialize<'de> for AppointmentOccurrenceDate
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
impl StructuralPartialEq for AppointmentOccurrenceDate
Auto Trait Implementations§
impl Freeze for AppointmentOccurrenceDate
impl RefUnwindSafe for AppointmentOccurrenceDate
impl Send for AppointmentOccurrenceDate
impl Sync for AppointmentOccurrenceDate
impl Unpin for AppointmentOccurrenceDate
impl UnsafeUnpin for AppointmentOccurrenceDate
impl UnwindSafe for AppointmentOccurrenceDate
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