pub enum UpsertNoteOutcome {
Updated {
notes_commit: ObjectId,
},
Unchanged,
}Expand description
Result of an incremental note upsert at the repository level.
Variants§
Updated
A new or updated note was written and the notes ref advanced.
Unchanged
The annotated object already referenced this blob; no objects or ref were written.
Trait Implementations§
Source§impl Clone for UpsertNoteOutcome
impl Clone for UpsertNoteOutcome
Source§fn clone(&self) -> UpsertNoteOutcome
fn clone(&self) -> UpsertNoteOutcome
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 moreSource§impl Debug for UpsertNoteOutcome
impl Debug for UpsertNoteOutcome
impl Eq for UpsertNoteOutcome
Source§impl PartialEq for UpsertNoteOutcome
impl PartialEq for UpsertNoteOutcome
Source§fn eq(&self, other: &UpsertNoteOutcome) -> bool
fn eq(&self, other: &UpsertNoteOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpsertNoteOutcome
Auto Trait Implementations§
impl Freeze for UpsertNoteOutcome
impl RefUnwindSafe for UpsertNoteOutcome
impl Send for UpsertNoteOutcome
impl Sync for UpsertNoteOutcome
impl Unpin for UpsertNoteOutcome
impl UnsafeUnpin for UpsertNoteOutcome
impl UnwindSafe for UpsertNoteOutcome
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