pub struct Generation(/* private fields */);Expand description
The number of one published manifest. Each publication’s generation is one above the newest before it; a generation names one manifest forever.
Implementations§
Source§impl Generation
impl Generation
Trait Implementations§
Source§impl Clone for Generation
impl Clone for Generation
impl Copy for Generation
Source§impl Debug for Generation
impl Debug for Generation
Source§impl Display for Generation
impl Display for Generation
impl Eq for Generation
Source§impl Hash for Generation
impl Hash for Generation
Source§impl HeapBytes for Generation
impl HeapBytes for Generation
Source§fn heap_bytes(&self, _seen: &mut Seen) -> usize
fn heap_bytes(&self, _seen: &mut Seen) -> usize
The bytes this value owns on the heap; an allocation
seen has
already counted adds nothing.Source§impl Ord for Generation
impl Ord for Generation
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 Generation
impl PartialEq for Generation
Source§impl PartialOrd for Generation
impl PartialOrd for Generation
impl StructuralPartialEq for Generation
Auto Trait Implementations§
impl Forget for Generation
impl Freeze for Generation
impl Move for Generation
impl RefUnwindSafe for Generation
impl Send for Generation
impl Sync for Generation
impl Unpin for Generation
impl UnsafeUnpin for Generation
impl UnwindSafe for Generation
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