pub struct VersionEntry {
    pub version: String,
    pub download_url: String,
    pub checksum: String,
    pub size: u64,
    pub published_at: String,
    pub yanked: bool,
    pub min_mockforge_version: Option<String>,
    pub dependencies: HashMap<String, String>,
}Expand description
Version-specific entry
Fields§
§version: StringVersion string (semver)
download_url: StringDownload URL
checksum: StringSHA-256 checksum
size: u64File size in bytes
published_at: StringPublished timestamp
yanked: boolYanked (removed from index)
min_mockforge_version: Option<String>Minimum MockForge version required
dependencies: HashMap<String, String>Dependencies
Trait Implementations§
Source§impl Clone for VersionEntry
 
impl Clone for VersionEntry
Source§fn clone(&self) -> VersionEntry
 
fn clone(&self) -> VersionEntry
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 VersionEntry
 
impl Debug for VersionEntry
Source§impl<'de> Deserialize<'de> for VersionEntry
 
impl<'de> Deserialize<'de> for VersionEntry
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 VersionEntry
impl RefUnwindSafe for VersionEntry
impl Send for VersionEntry
impl Sync for VersionEntry
impl Unpin for VersionEntry
impl UnwindSafe for VersionEntry
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