pub enum UpsertOutcome {
Inserted,
Updated,
Unchanged,
}Expand description
The result of inserting or refreshing one analyzed file.
Variants§
Inserted
The path did not previously exist in the graph.
Updated
An analyzed node changed or a stub was promoted.
Unchanged
The content and resolver generation were already current.
Trait Implementations§
Source§impl Clone for UpsertOutcome
impl Clone for UpsertOutcome
Source§fn clone(&self) -> UpsertOutcome
fn clone(&self) -> UpsertOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UpsertOutcome
Source§impl Debug for UpsertOutcome
impl Debug for UpsertOutcome
impl Eq for UpsertOutcome
Source§impl PartialEq for UpsertOutcome
impl PartialEq for UpsertOutcome
impl StructuralPartialEq for UpsertOutcome
Auto Trait Implementations§
impl Freeze for UpsertOutcome
impl RefUnwindSafe for UpsertOutcome
impl Send for UpsertOutcome
impl Sync for UpsertOutcome
impl Unpin for UpsertOutcome
impl UnsafeUnpin for UpsertOutcome
impl UnwindSafe for UpsertOutcome
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> 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.