pub struct TimelineCreateOptions {
pub date: Option<String>,
pub tags: Option<Vec<String>>,
pub index: Option<i32>,
}Expand description
The optional inputs of create; leave any out with ..Default::default().
Fields§
§date: Option<String>Free text, such as “Day 3” or “Spring, 1802”.
index: Option<i32>Its position in the timeline; left out, the end.
Trait Implementations§
Source§impl Clone for TimelineCreateOptions
impl Clone for TimelineCreateOptions
Source§impl Debug for TimelineCreateOptions
impl Debug for TimelineCreateOptions
Source§impl Default for TimelineCreateOptions
impl Default for TimelineCreateOptions
Source§impl PartialEq for TimelineCreateOptions
impl PartialEq for TimelineCreateOptions
Source§impl Serialize for TimelineCreateOptions
impl Serialize for TimelineCreateOptions
impl StructuralPartialEq for TimelineCreateOptions
Auto Trait Implementations§
impl Freeze for TimelineCreateOptions
impl RefUnwindSafe for TimelineCreateOptions
impl Send for TimelineCreateOptions
impl Sync for TimelineCreateOptions
impl Unpin for TimelineCreateOptions
impl UnsafeUnpin for TimelineCreateOptions
impl UnwindSafe for TimelineCreateOptions
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