pub struct RepositoryIndexEntry {
pub name: String,
pub version: String,
pub hash: [u8; 32],
pub size: u64,
pub description: String,
pub license: String,
}Expand description
A single entry in the repository index.
Fields§
§name: StringPackage name
version: StringPackage version string
hash: [u8; 32]SHA-256 hash of the .vpkg file
size: u64Size of the .vpkg file in bytes
description: StringPackage description
license: StringLicense identifier
Trait Implementations§
Source§impl Clone for RepositoryIndexEntry
impl Clone for RepositoryIndexEntry
Source§fn clone(&self) -> RepositoryIndexEntry
fn clone(&self) -> RepositoryIndexEntry
Returns a duplicate of the value. Read more
1.0.0§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 RepositoryIndexEntry
impl RefUnwindSafe for RepositoryIndexEntry
impl Send for RepositoryIndexEntry
impl Sync for RepositoryIndexEntry
impl Unpin for RepositoryIndexEntry
impl UnwindSafe for RepositoryIndexEntry
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)