pub struct RevisionNo(pub u64);Expand description
Monotonically increasing file revision counter within one file inode.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for RevisionNo
impl Clone for RevisionNo
Source§fn clone(&self) -> RevisionNo
fn clone(&self) -> RevisionNo
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 moreimpl Copy for RevisionNo
Source§impl Debug for RevisionNo
impl Debug for RevisionNo
Source§impl<'de> Deserialize<'de> for RevisionNo
impl<'de> Deserialize<'de> for RevisionNo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RevisionNo
impl Display for RevisionNo
impl Eq for RevisionNo
Source§impl From<u64> for RevisionNo
impl From<u64> for RevisionNo
Source§impl Hash for RevisionNo
impl Hash for RevisionNo
Source§impl Ord for RevisionNo
impl Ord for RevisionNo
Source§fn cmp(&self, other: &RevisionNo) -> Ordering
fn cmp(&self, other: &RevisionNo) -> 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 RevisionNo
impl PartialEq for RevisionNo
Source§impl PartialOrd for RevisionNo
impl PartialOrd for RevisionNo
Source§impl Serialize for RevisionNo
impl Serialize for RevisionNo
impl StructuralPartialEq for RevisionNo
Auto Trait Implementations§
impl Freeze for RevisionNo
impl RefUnwindSafe for RevisionNo
impl Send for RevisionNo
impl Sync for RevisionNo
impl Unpin for RevisionNo
impl UnsafeUnpin for RevisionNo
impl UnwindSafe for RevisionNo
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