Struct DocumentRevision
pub struct DocumentRevision(/* private fields */);Expand description
A monotonically increasing document revision label.
Implementations§
§impl DocumentRevision
impl DocumentRevision
pub const fn new(value: u64) -> DocumentRevision
pub const fn new(value: u64) -> DocumentRevision
Creates a document revision value.
Trait Implementations§
§impl Clone for DocumentRevision
impl Clone for DocumentRevision
§fn clone(&self) -> DocumentRevision
fn clone(&self) -> DocumentRevision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for DocumentRevision
impl Debug for DocumentRevision
§impl Default for DocumentRevision
impl Default for DocumentRevision
§fn default() -> DocumentRevision
fn default() -> DocumentRevision
Returns the “default value” for a type. Read more
§impl Display for DocumentRevision
impl Display for DocumentRevision
§impl Hash for DocumentRevision
impl Hash for DocumentRevision
§impl Ord for DocumentRevision
impl Ord for DocumentRevision
§fn cmp(&self, other: &DocumentRevision) -> Ordering
fn cmp(&self, other: &DocumentRevision) -> Ordering
1.21.0 · 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
§impl PartialEq for DocumentRevision
impl PartialEq for DocumentRevision
§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