pub enum Ask {
Implement,
Defer,
Decline,
Answer,
Nothing,
}Expand description
What spar should do about one comment somebody left.
Every value maps to exactly one action, which is the point: a verdict that needs a second field to decide what it means is one that gets decided differently in two places.
Variants§
Implement
A change is asked for, it is right, and it belongs on this branch. Make it, push it, say so, and resolve the thread.
Defer
Right, but really its own piece of work. File it, say where it went.
Decline
Should not be made. Reply with the reason, leave the thread open.
Answer
A question rather than a request. Answer it in words.
Nothing
Nothing is being asked. Praise, or a thread they settled themselves.
Implementations§
Trait Implementations§
impl Copy for Ask
Source§impl<'de> Deserialize<'de> for Ask
impl<'de> Deserialize<'de> for Ask
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Ask
Source§impl Ord for Ask
impl Ord for Ask
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Ask
impl PartialOrd for Ask
impl StructuralPartialEq for Ask
Auto Trait Implementations§
impl Freeze for Ask
impl RefUnwindSafe for Ask
impl Send for Ask
impl Sync for Ask
impl Unpin for Ask
impl UnsafeUnpin for Ask
impl UnwindSafe for Ask
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.