pub struct CrateEntry {
pub name: String,
pub version: String,
pub cksum: String,
pub bytes: Vec<u8>,
}Expand description
One crate to place in the registry: its identity, the Cargo cksum (bare
sha256 hex of the .crate), and the tarball bytes.
Fields§
§name: String§version: String§cksum: StringBare sha256 hex (no sha256: prefix) of the .crate tarball.
bytes: Vec<u8>Trait Implementations§
Source§impl Clone for CrateEntry
impl Clone for CrateEntry
Source§fn clone(&self) -> CrateEntry
fn clone(&self) -> CrateEntry
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 moreAuto Trait Implementations§
impl Freeze for CrateEntry
impl RefUnwindSafe for CrateEntry
impl Send for CrateEntry
impl Sync for CrateEntry
impl Unpin for CrateEntry
impl UnsafeUnpin for CrateEntry
impl UnwindSafe for CrateEntry
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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