pub struct InternedVersionManifest {
pub package_indices: Vec<usize>,
pub version_numbers: Vec<Option<InternKey>>,
pub download_urls: Vec<Option<InternKey>>,
pub dependencies: Vec<Vec<InternKey>>,
pub dates_created: Vec<OffsetDateTime>,
pub descriptions: Vec<Option<InternKey>>,
pub icons: Vec<Option<InternKey>>,
pub downloads: Vec<Option<u32>>,
pub website_urls: Vec<Option<InternKey>>,
pub is_active: Vec<Option<bool>>,
pub uuid4s: Vec<Option<InternKey>>,
pub file_sizes: Vec<Option<u64>>,
}Expand description
Struct-of-Arrays representation of version data with interned strings.
Separates frequently accessed “hot” data from rarely accessed “cold” metadata for better cache performance and memory efficiency. String values are stored as interned keys that reference the parent manifest’s string interner.
Fields§
§package_indices: Vec<usize>§version_numbers: Vec<Option<InternKey>>§download_urls: Vec<Option<InternKey>>§dependencies: Vec<Vec<InternKey>>§dates_created: Vec<OffsetDateTime>§descriptions: Vec<Option<InternKey>>§icons: Vec<Option<InternKey>>§downloads: Vec<Option<u32>>§website_urls: Vec<Option<InternKey>>§is_active: Vec<Option<bool>>§uuid4s: Vec<Option<InternKey>>§file_sizes: Vec<Option<u64>>Implementations§
impl InternedVersionManifest
This impl block contains no public items.
Implementation block for InternedVersionManifest.
Currently empty but reserved for future version-specific methods.
Trait Implementations§
Source§impl Clone for InternedVersionManifest
impl Clone for InternedVersionManifest
Source§fn clone(&self) -> InternedVersionManifest
fn clone(&self) -> InternedVersionManifest
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 moreAuto Trait Implementations§
impl Freeze for InternedVersionManifest
impl RefUnwindSafe for InternedVersionManifest
impl Send for InternedVersionManifest
impl Sync for InternedVersionManifest
impl Unpin for InternedVersionManifest
impl UnsafeUnpin for InternedVersionManifest
impl UnwindSafe for InternedVersionManifest
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