pub struct DocumentVersion(/* private fields */);Expand description
A document schema or application version label.
Implementations§
Trait Implementations§
Source§impl Clone for DocumentVersion
impl Clone for DocumentVersion
Source§fn clone(&self) -> DocumentVersion
fn clone(&self) -> DocumentVersion
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 DocumentVersion
impl Debug for DocumentVersion
Source§impl Default for DocumentVersion
impl Default for DocumentVersion
Source§fn default() -> DocumentVersion
fn default() -> DocumentVersion
Returns the “default value” for a type. Read more
Source§impl Display for DocumentVersion
impl Display for DocumentVersion
Source§impl Hash for DocumentVersion
impl Hash for DocumentVersion
Source§impl Ord for DocumentVersion
impl Ord for DocumentVersion
Source§fn cmp(&self, other: &DocumentVersion) -> Ordering
fn cmp(&self, other: &DocumentVersion) -> 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 DocumentVersion
impl PartialEq for DocumentVersion
Source§fn eq(&self, other: &DocumentVersion) -> bool
fn eq(&self, other: &DocumentVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§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