Skip to main content

EntryCommand

Enum EntryCommand 

Source
pub enum EntryCommand {
Show 13 variants Add(AddArgs), Show(u32), Search(String), SetStatus(u32, Status), Comment(u32, Text), Ask(u32, Text), Wait(u32, Option<Duration>), Propose(u32, AddArgs), Resolve(u32, DecisionState, Option<Text>), Describe(u32, Text), Link(u32, Vec<u32>, Vec<RepoLink>), Context, Project(Option<(ProjectPart, Text)>),
}
Expand description

What to do to which entry.

Variants§

§

Add(AddArgs)

add: create an entry.

§

Show(u32)

show ID.

§

Search(String)

search WORDS….

§

SetStatus(u32, Status)

start|park|done|todo ID.

§

Comment(u32, Text)

comment ID TEXT…|-.

§

Ask(u32, Text)

ask ID TEXT…|-: a question to the user, parking the task.

§

Wait(u32, Option<Duration>)

wait ID [--timeout MINUTES]: block until a person answers, or the time is up (None: never).

§

Propose(u32, AddArgs)

propose ID … TITLE…: a proposed decision for the task.

§

Resolve(u32, DecisionState, Option<Text>)

accept ID [TEXT…|-] / reject ID TEXT…|-: a decision accepted or rejected, and why.

§

Describe(u32, Text)

describe ID TEXT…|-.

link ID OTHER…: ids here, and REPO#ID in the project’s other repositories.

§

Context

context.

§

Project(Option<(ProjectPart, Text)>)

project: show the project’s description and this repository’s role; with a part and text, replace that part.

Trait Implementations§

Source§

impl Debug for EntryCommand

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for EntryCommand

Source§

impl PartialEq for EntryCommand

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for EntryCommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.