pub struct DownloadEntry {
pub ekey: Vec<u8>,
pub compressed_size: u64,
pub priority: i8,
pub checksum: Option<u32>,
pub flags: Vec<u8>,
}
Expand description
Download manifest file entry
Fields§
§ekey: Vec<u8>
Encoding key
compressed_size: u64
Compressed size
priority: i8
Download priority (0 = highest, higher = lower priority)
checksum: Option<u32>
Optional checksum
flags: Vec<u8>
Plugin flags (v2+)
Implementations§
Source§impl DownloadEntry
impl DownloadEntry
Trait Implementations§
Source§impl Clone for DownloadEntry
impl Clone for DownloadEntry
Source§fn clone(&self) -> DownloadEntry
fn clone(&self) -> DownloadEntry
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 DownloadEntry
impl RefUnwindSafe for DownloadEntry
impl Send for DownloadEntry
impl Sync for DownloadEntry
impl Unpin for DownloadEntry
impl UnwindSafe for DownloadEntry
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