pub enum Verb<'a> {
List,
Approve(&'a str),
ApproveNoted(&'a str, &'a str),
Reject(&'a str, &'a str),
Decide(Choice<'a>),
}Expand description
What to do with a pending call.
Variants§
List
Only list.
Approve(&'a str)
Approve the task’s pending call.
ApproveNoted(&'a str, &'a str)
Approve it with a note the next attempt is told.
Reject(&'a str, &'a str)
Reject the task’s pending call, with a reason.
Decide(Choice<'a>)
Decide waiting calls as speccoder task approve|reject options say.
Trait Implementations§
impl<'a> Copy for Verb<'a>
impl<'a> Eq for Verb<'a>
impl<'a> StructuralPartialEq for Verb<'a>
Auto Trait Implementations§
impl<'a> Freeze for Verb<'a>
impl<'a> RefUnwindSafe for Verb<'a>
impl<'a> Send for Verb<'a>
impl<'a> Sync for Verb<'a>
impl<'a> Unpin for Verb<'a>
impl<'a> UnsafeUnpin for Verb<'a>
impl<'a> UnwindSafe for Verb<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.