pub fn write(
project: &str,
options: TimelineSettingsWriteOptions,
) -> Result<TimelineSettings>Expand description
Change one timeline’s settings, main unless timeline names another; fields left out stay as they are, and name renames it. Switching to dated gives every event without a valid start one, spaced evenly in the current order; switching to manual keeps the date order as the manual order. A new calendar drops dates that do not fit it, keeping the start as the label of an event that has none.
Needs timeline.settings.write or content:write in the manifest’s [permissions].