Struct PackagistDownloadCount
pub struct PackagistDownloadCount(/* private fields */);Expand description
Packagist download count metadata.
Implementations§
§impl PackagistDownloadCount
impl PackagistDownloadCount
pub const fn new(value: u64) -> PackagistDownloadCount
pub const fn get(self) -> u64
Trait Implementations§
§impl Clone for PackagistDownloadCount
impl Clone for PackagistDownloadCount
§fn clone(&self) -> PackagistDownloadCount
fn clone(&self) -> PackagistDownloadCount
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 PackagistDownloadCount
impl Debug for PackagistDownloadCount
§impl Hash for PackagistDownloadCount
impl Hash for PackagistDownloadCount
§impl Ord for PackagistDownloadCount
impl Ord for PackagistDownloadCount
§fn cmp(&self, other: &PackagistDownloadCount) -> Ordering
fn cmp(&self, other: &PackagistDownloadCount) -> Ordering
1.21.0 · 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
§impl PartialEq for PackagistDownloadCount
impl PartialEq for PackagistDownloadCount
§impl PartialOrd for PackagistDownloadCount
impl PartialOrd for PackagistDownloadCount
impl Copy for PackagistDownloadCount
impl Eq for PackagistDownloadCount
impl StructuralPartialEq for PackagistDownloadCount
Auto Trait Implementations§
impl Freeze for PackagistDownloadCount
impl RefUnwindSafe for PackagistDownloadCount
impl Send for PackagistDownloadCount
impl Sync for PackagistDownloadCount
impl Unpin for PackagistDownloadCount
impl UnsafeUnpin for PackagistDownloadCount
impl UnwindSafe for PackagistDownloadCount
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