pub enum VersionOutcome {
Unchanged,
Recorded {
id: String,
},
}Expand description
The outcome of a record_version call.
Variants§
Unchanged
Content was byte-identical to the latest version; no new version created.
Recorded
A new version was recorded.
Trait Implementations§
Source§impl Clone for VersionOutcome
impl Clone for VersionOutcome
Source§fn clone(&self) -> VersionOutcome
fn clone(&self) -> VersionOutcome
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 VersionOutcome
impl Debug for VersionOutcome
Source§impl PartialEq for VersionOutcome
impl PartialEq for VersionOutcome
Source§fn eq(&self, other: &VersionOutcome) -> bool
fn eq(&self, other: &VersionOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VersionOutcome
Auto Trait Implementations§
impl Freeze for VersionOutcome
impl RefUnwindSafe for VersionOutcome
impl Send for VersionOutcome
impl Sync for VersionOutcome
impl Unpin for VersionOutcome
impl UnsafeUnpin for VersionOutcome
impl UnwindSafe for VersionOutcome
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