pub struct CalendarUpdate {
pub campus_id: Option<Option<i64>>,
pub color: Option<Option<String>>,
pub ev_termine_event_type_id: Option<Option<i64>>,
pub event_template_id: Option<Option<i64>>,
pub i_cal_source_url: Option<Option<String>>,
pub name: String,
pub sort_key: i64,
pub sync_to_ev_termine: Option<bool>,
pub extra: Map<String, Value>,
}Expand description
Editable calendar settings. The calendar type cannot be changed here. A supplied iCalSourceUrl triggers an external calendar import.
Fields§
§campus_id: Option<Option<i64>>Campus associated with this calendar, or null for no campus. A campus represents a ChurchTools location/site, not a calendar permission group.
None leaves the field out, Some(None) sends null.
color: Option<Option<String>>Display color, normally a CSS hex color such as #336699.
None leaves the field out, Some(None) sends null.
ev_termine_event_type_id: Option<Option<i64>>Event type ID used by the Evangelische Termine integration, or null. This is an external event classification, not a ChurchTools calendar type.
None leaves the field out, Some(None) sends null.
event_template_id: Option<Option<i64>>Configured service-planning event template ID for this calendar, or null. This differs from an appointment template.
None leaves the field out, Some(None) sends null.
i_cal_source_url: Option<Option<String>>External iCalendar feed to import. webcal:// and ical:// are normalized to https://; addresses without a scheme receive https://.
None leaves the field out, Some(None) sends null.
name: StringCalendar display name.
sort_key: i64Display order. The calendar list is sorted by this value in ascending order.
sync_to_ev_termine: Option<bool>Whether the Evangelische Termine integration should synchronize this calendar. This is separate from importing an iCalendar feed.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.