Skip to main content

set

Function set 

Source
pub fn set(
    project: &str,
    id: i32,
    options: TimelineSetOptions,
) -> Result<TimelineEntry>
Expand description

Set single fields of any timeline event, or clear them by name, leaving the rest alone. A placement takes only label, lane, milestone, start, and end. This is how a placement is edited. A timeline other than the event’s own moves it there, with start and end, when given, as its dates on that timeline’s calendar; a dated timeline refuses the move unless the event’s start fits or one is given.

Needs timeline.set or content:write in the manifest’s [permissions].