pub struct TimelineSetOptions {
pub title: Option<String>,
pub label: Option<String>,
pub lane: Option<String>,
pub milestone: Option<bool>,
pub start: Option<BTreeMap<String, i64>>,
pub end: Option<BTreeMap<String, i64>>,
pub clear: Option<Vec<String>>,
pub timeline: Option<String>,
}Expand description
The optional inputs of set; leave any out with ..Default::default().
Fields§
§title: Option<String>A plain event’s own title.
label: Option<String>The free-text “when”, shown on a manual timeline.
lane: Option<String>The lane it runs in.
milestone: Option<bool>A turning point, marked across every lane.
start: Option<BTreeMap<String, i64>>When it starts on the timeline’s calendar, such as {“year”: 97, “day”: 210}.
end: Option<BTreeMap<String, i64>>When it ends, in the same form as start.
clear: Option<Vec<String>>Fields to clear, from title, label, lane, start, and end.
timeline: Option<String>Moves the event to this timeline, by id, “main” for the main one.
Trait Implementations§
Source§impl Clone for TimelineSetOptions
impl Clone for TimelineSetOptions
Source§impl Debug for TimelineSetOptions
impl Debug for TimelineSetOptions
Source§impl Default for TimelineSetOptions
impl Default for TimelineSetOptions
Source§impl PartialEq for TimelineSetOptions
impl PartialEq for TimelineSetOptions
Source§impl Serialize for TimelineSetOptions
impl Serialize for TimelineSetOptions
impl StructuralPartialEq for TimelineSetOptions
Auto Trait Implementations§
impl Forget for TimelineSetOptions
impl Freeze for TimelineSetOptions
impl Move for TimelineSetOptions
impl RefUnwindSafe for TimelineSetOptions
impl Send for TimelineSetOptions
impl Sync for TimelineSetOptions
impl Unpin for TimelineSetOptions
impl UnsafeUnpin for TimelineSetOptions
impl UnwindSafe for TimelineSetOptions
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