pub struct MetadataGeneration(/* private fields */);Expand description
A monotonically increasing generation for one metadata resource.
Implementations§
Trait Implementations§
Source§impl Clone for MetadataGeneration
impl Clone for MetadataGeneration
impl Copy for MetadataGeneration
Source§impl Debug for MetadataGeneration
impl Debug for MetadataGeneration
impl Eq for MetadataGeneration
Source§impl From<u64> for MetadataGeneration
impl From<u64> for MetadataGeneration
Source§impl Hash for MetadataGeneration
impl Hash for MetadataGeneration
Source§impl Ord for MetadataGeneration
impl Ord for MetadataGeneration
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MetadataGeneration
impl PartialEq for MetadataGeneration
Source§impl PartialOrd for MetadataGeneration
impl PartialOrd for MetadataGeneration
impl StructuralPartialEq for MetadataGeneration
Auto Trait Implementations§
impl Freeze for MetadataGeneration
impl RefUnwindSafe for MetadataGeneration
impl Send for MetadataGeneration
impl Sync for MetadataGeneration
impl Unpin for MetadataGeneration
impl UnsafeUnpin for MetadataGeneration
impl UnwindSafe for MetadataGeneration
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