pub struct Entry<'a> {
pub name: &'a str,
pub version: &'a str,
pub rank: u8,
}Expand description
A single crate in the names artifact.
Fields§
§name: &'a strthe crate’s name
version: &'a strthe crates.io “default version”: the version the crates.io ui itself presents, typically the highest stable non-yanked release
rank: u8log-quantized all-time downloads; see crate::rank_from_downloads
Trait Implementations§
impl<'a> Copy for Entry<'a>
impl<'a> Eq for Entry<'a>
impl<'a> StructuralPartialEq for Entry<'a>
Auto Trait Implementations§
impl<'a> Freeze for Entry<'a>
impl<'a> RefUnwindSafe for Entry<'a>
impl<'a> Send for Entry<'a>
impl<'a> Sync for Entry<'a>
impl<'a> Unpin for Entry<'a>
impl<'a> UnsafeUnpin for Entry<'a>
impl<'a> UnwindSafe for Entry<'a>
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