pub struct VersionManifest {
pub package_indices: Vec<usize>,
pub version_numbers: Vec<Option<String>>,
pub download_urls: Vec<Option<String>>,
pub dependencies: Vec<Vec<String>>,
pub dates_created: Vec<OffsetDateTime>,
pub descriptions: Vec<Option<String>>,
pub icons: Vec<Option<String>>,
pub downloads: Vec<Option<u32>>,
pub website_urls: Vec<Option<String>>,
pub is_active: Vec<Option<bool>>,
pub uuid4s: Vec<Option<String>>,
pub file_sizes: Vec<Option<u64>>,
}Expand description
Struct-of-Arrays representation of version data.
Separates frequently accessed “hot” data from rarely accessed “cold” metadata for better cache performance and memory efficiency.
Fields§
§package_indices: Vec<usize>§version_numbers: Vec<Option<String>>§download_urls: Vec<Option<String>>§dependencies: Vec<Vec<String>>§dates_created: Vec<OffsetDateTime>§descriptions: Vec<Option<String>>§icons: Vec<Option<String>>§downloads: Vec<Option<u32>>§website_urls: Vec<Option<String>>§is_active: Vec<Option<bool>>§uuid4s: Vec<Option<String>>§file_sizes: Vec<Option<u64>>Implementations§
impl VersionManifest
This impl block contains no public items.
Implementation block for VersionManifest.
Currently empty but reserved for future version-specific methods.
Trait Implementations§
Source§impl Clone for VersionManifest
impl Clone for VersionManifest
Source§fn clone(&self) -> VersionManifest
fn clone(&self) -> VersionManifest
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 moreSource§impl Debug for VersionManifest
impl Debug for VersionManifest
Source§impl<'de> Deserialize<'de> for VersionManifest
impl<'de> Deserialize<'de> for VersionManifest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VersionManifest
impl RefUnwindSafe for VersionManifest
impl Send for VersionManifest
impl Sync for VersionManifest
impl Unpin for VersionManifest
impl UnsafeUnpin for VersionManifest
impl UnwindSafe for VersionManifest
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