pub struct NewEntry {
pub kind: Kind,
pub title: String,
pub tags: Vec<String>,
pub links: Vec<u32>,
pub repo_links: Vec<RepoLink>,
pub description: Option<String>,
pub start: bool,
}Expand description
What a new entry starts with, from the desktop app, the command line or an agent.
Fields§
§kind: KindTask, note or decision.
title: StringMust not be empty.
Lowercase, without #.
links: Vec<u32>Ids of related entries.
repo_links: Vec<RepoLink>Related entries in the project’s other repositories.
description: Option<String>None leaves it empty, or for a decision, the ADR sections to fill in.
start: boolStart a task right away (moving it to doing and starting its clock).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewEntry
impl RefUnwindSafe for NewEntry
impl Send for NewEntry
impl Sync for NewEntry
impl Unpin for NewEntry
impl UnsafeUnpin for NewEntry
impl UnwindSafe for NewEntry
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