Struct DocumentVersion
pub struct DocumentVersion(/* private fields */);Expand description
A document schema or application version label.
Implementations§
§impl DocumentVersion
impl DocumentVersion
pub const fn new(value: u64) -> DocumentVersion
pub const fn new(value: u64) -> DocumentVersion
Creates a document version value.
Trait Implementations§
§impl Clone for DocumentVersion
impl Clone for DocumentVersion
§fn clone(&self) -> DocumentVersion
fn clone(&self) -> DocumentVersion
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 DocumentVersion
impl Debug for DocumentVersion
§impl Default for DocumentVersion
impl Default for DocumentVersion
§fn default() -> DocumentVersion
fn default() -> DocumentVersion
Returns the “default value” for a type. Read more
§impl Display for DocumentVersion
impl Display for DocumentVersion
§impl Hash for DocumentVersion
impl Hash for DocumentVersion
§impl Ord for DocumentVersion
impl Ord for DocumentVersion
§impl PartialEq for DocumentVersion
impl PartialEq for DocumentVersion
§impl PartialOrd for DocumentVersion
impl PartialOrd for DocumentVersion
impl Copy for DocumentVersion
impl Eq for DocumentVersion
impl StructuralPartialEq for DocumentVersion
Auto Trait Implementations§
impl Freeze for DocumentVersion
impl RefUnwindSafe for DocumentVersion
impl Send for DocumentVersion
impl Sync for DocumentVersion
impl Unpin for DocumentVersion
impl UnsafeUnpin for DocumentVersion
impl UnwindSafe for DocumentVersion
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