pub struct DocumentRevision(/* private fields */);Expand description
A monotonically increasing document revision label.
Implementations§
Trait Implementations§
Source§impl Clone for DocumentRevision
impl Clone for DocumentRevision
Source§fn clone(&self) -> DocumentRevision
fn clone(&self) -> DocumentRevision
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 DocumentRevision
impl Debug for DocumentRevision
Source§impl Default for DocumentRevision
impl Default for DocumentRevision
Source§fn default() -> DocumentRevision
fn default() -> DocumentRevision
Returns the “default value” for a type. Read more
Source§impl Display for DocumentRevision
impl Display for DocumentRevision
Source§impl Hash for DocumentRevision
impl Hash for DocumentRevision
Source§impl Ord for DocumentRevision
impl Ord for DocumentRevision
Source§fn cmp(&self, other: &DocumentRevision) -> Ordering
fn cmp(&self, other: &DocumentRevision) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DocumentRevision
impl PartialEq for DocumentRevision
Source§fn eq(&self, other: &DocumentRevision) -> bool
fn eq(&self, other: &DocumentRevision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DocumentRevision
impl PartialOrd for DocumentRevision
impl Copy for DocumentRevision
impl Eq for DocumentRevision
impl StructuralPartialEq for DocumentRevision
Auto Trait Implementations§
impl Freeze for DocumentRevision
impl RefUnwindSafe for DocumentRevision
impl Send for DocumentRevision
impl Sync for DocumentRevision
impl Unpin for DocumentRevision
impl UnsafeUnpin for DocumentRevision
impl UnwindSafe for DocumentRevision
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