pub enum NoteAddOutcome {
Added,
Replaced,
}Expand description
What RepositoryNotes::add did to the annotated object’s note.
Variants§
Added
The object had no note; one was attached.
Replaced
The object already had a note and force replaced it.
Trait Implementations§
Source§impl Clone for NoteAddOutcome
impl Clone for NoteAddOutcome
impl Copy for NoteAddOutcome
Source§impl Debug for NoteAddOutcome
impl Debug for NoteAddOutcome
impl Eq for NoteAddOutcome
Source§impl PartialEq for NoteAddOutcome
impl PartialEq for NoteAddOutcome
impl StructuralPartialEq for NoteAddOutcome
Auto Trait Implementations§
impl Freeze for NoteAddOutcome
impl RefUnwindSafe for NoteAddOutcome
impl Send for NoteAddOutcome
impl Sync for NoteAddOutcome
impl Unpin for NoteAddOutcome
impl UnsafeUnpin for NoteAddOutcome
impl UnwindSafe for NoteAddOutcome
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§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.