#[non_exhaustive]pub enum EntryCommand {
Show 16 variants
#[non_exhaustive] Add(AddArgs),
#[non_exhaustive] Show(u32),
#[non_exhaustive] Search(String),
#[non_exhaustive] SetStatus(u32, Status),
#[non_exhaustive] Comment(u32, Text),
#[non_exhaustive] Ask(u32, Text),
#[non_exhaustive] Wait(u32, Option<Duration>),
#[non_exhaustive] Propose(u32, AddArgs),
#[non_exhaustive] Resolve(u32, DecisionState, Option<Text>),
#[non_exhaustive] Describe(u32, Text),
#[non_exhaustive] Rename(u32, String),
#[non_exhaustive] Tag(u32, Vec<TagChange>),
#[non_exhaustive] RenameTag(String, String, bool),
#[non_exhaustive] Link(u32, Vec<u32>, Vec<RepoLink>),
#[non_exhaustive] Context,
#[non_exhaustive] Project(Option<ProjectChange>),
}Expand description
What to do to which entry.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
#[non_exhaustive]Add(AddArgs)
add: create an entry.
#[non_exhaustive]Show(u32)
show ID.
#[non_exhaustive]Search(String)
search WORDS….
#[non_exhaustive]SetStatus(u32, Status)
start|park|done|todo ID.
#[non_exhaustive]Comment(u32, Text)
comment ID TEXT…|-.
#[non_exhaustive]Ask(u32, Text)
ask ID TEXT…|-: a question to the user, parking the task.
#[non_exhaustive]Wait(u32, Option<Duration>)
wait ID [--timeout MINUTES]: block until a person answers, or the time is up (None: never).
#[non_exhaustive]Propose(u32, AddArgs)
propose ID … TITLE…: a proposed decision for the task.
#[non_exhaustive]Resolve(u32, DecisionState, Option<Text>)
accept ID [TEXT…|-] / reject ID TEXT…|-: a decision accepted or rejected, and why.
#[non_exhaustive]Describe(u32, Text)
describe ID TEXT…|-.
#[non_exhaustive]Rename(u32, String)
rename ID TITLE….
#[non_exhaustive]Tag(u32, Vec<TagChange>)
tag ID +TAG|-TAG…: tags added and removed, in order.
#[non_exhaustive]RenameTag(String, String, bool)
tag OLD NEW: a tag renamed in every entry; true when OLD was written #OLD, which no id is.
#[non_exhaustive]Link(u32, Vec<u32>, Vec<RepoLink>)
link ID OTHER…: ids here, and REPO#ID in the project’s other repositories.
#[non_exhaustive]Context
context.
#[non_exhaustive]Project(Option<ProjectChange>)
project: show the project’s description and this repository’s role, or change the project.
Trait Implementations§
Source§impl Debug for EntryCommand
impl Debug for EntryCommand
impl Eq for EntryCommand
Source§impl PartialEq for EntryCommand
impl PartialEq for EntryCommand
impl StructuralPartialEq for EntryCommand
Auto Trait Implementations§
impl Freeze for EntryCommand
impl RefUnwindSafe for EntryCommand
impl Send for EntryCommand
impl Sync for EntryCommand
impl Unpin for EntryCommand
impl UnsafeUnpin for EntryCommand
impl UnwindSafe for EntryCommand
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.