pub struct TimelinePlaceOptions {
pub start: Option<BTreeMap<String, i64>>,
pub end: Option<BTreeMap<String, i64>>,
pub lane: Option<String>,
pub milestone: Option<bool>,
pub timeline: Option<String>,
}Expand description
The optional inputs of place; leave any out with ..Default::default().
Fields§
§start: Option<BTreeMap<String, i64>>When it starts on the timeline’s calendar, such as {“year”: 97, “day”: 210}; required on a dated timeline.
end: Option<BTreeMap<String, i64>>When it ends, in the same form as start; needs a start.
lane: Option<String>The lane it runs in.
milestone: Option<bool>A turning point, marked across every lane.
timeline: Option<String>The timeline’s id, from timeline.settings.read; left out, or “main”, the main timeline.
Trait Implementations§
Source§impl Clone for TimelinePlaceOptions
impl Clone for TimelinePlaceOptions
Source§impl Debug for TimelinePlaceOptions
impl Debug for TimelinePlaceOptions
Source§impl Default for TimelinePlaceOptions
impl Default for TimelinePlaceOptions
Source§impl PartialEq for TimelinePlaceOptions
impl PartialEq for TimelinePlaceOptions
Source§impl Serialize for TimelinePlaceOptions
impl Serialize for TimelinePlaceOptions
impl StructuralPartialEq for TimelinePlaceOptions
Auto Trait Implementations§
impl Forget for TimelinePlaceOptions
impl Freeze for TimelinePlaceOptions
impl Move for TimelinePlaceOptions
impl RefUnwindSafe for TimelinePlaceOptions
impl Send for TimelinePlaceOptions
impl Sync for TimelinePlaceOptions
impl Unpin for TimelinePlaceOptions
impl UnsafeUnpin for TimelinePlaceOptions
impl UnwindSafe for TimelinePlaceOptions
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