Struct physis::patchlist::PatchEntry
source · pub struct PatchEntry {
pub url: String,
pub version: String,
pub hash_block_size: i64,
pub length: i64,
pub size_on_disk: i64,
pub hashes: Vec<String>,
/* private fields */
}
Expand description
Represents a patch to be downloaded.
Fields§
§url: String
The URL of the patch file. Usually an HTTP URL.
version: String
The version for this patch.
hash_block_size: i64
How many bytes each SHA1 hash block is considering.
length: i64
Length of the patch file (in bytes.)
size_on_disk: i64
New size of the (game?) when the patch is installed.
hashes: Vec<String>
The list of SHA1 hashes.
Auto Trait Implementations§
impl Freeze for PatchEntry
impl RefUnwindSafe for PatchEntry
impl Send for PatchEntry
impl Sync for PatchEntry
impl Unpin for PatchEntry
impl UnwindSafe for PatchEntry
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