pub enum PurposeConditionalApplyState {
Applied,
Stale,
Accepted,
PathUnavailable,
}Expand description
Result of applying a purpose through the stale-safe curator path.
Variants§
Applied
The current unapproved row matched and was approved atomically.
Stale
Project, generation, task, path, or purpose row state changed after selection.
Accepted
The path now has accepted authored intent and was not overwritten.
The selected path is no longer active in the current index.
Trait Implementations§
Source§impl Clone for PurposeConditionalApplyState
impl Clone for PurposeConditionalApplyState
Source§fn clone(&self) -> PurposeConditionalApplyState
fn clone(&self) -> PurposeConditionalApplyState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PurposeConditionalApplyState
impl Debug for PurposeConditionalApplyState
Source§impl PartialEq for PurposeConditionalApplyState
impl PartialEq for PurposeConditionalApplyState
Source§fn eq(&self, other: &PurposeConditionalApplyState) -> bool
fn eq(&self, other: &PurposeConditionalApplyState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PurposeConditionalApplyState
impl Eq for PurposeConditionalApplyState
impl StructuralPartialEq for PurposeConditionalApplyState
Auto Trait Implementations§
impl Freeze for PurposeConditionalApplyState
impl RefUnwindSafe for PurposeConditionalApplyState
impl Send for PurposeConditionalApplyState
impl Sync for PurposeConditionalApplyState
impl Unpin for PurposeConditionalApplyState
impl UnwindSafe for PurposeConditionalApplyState
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more