pub struct ModelDownload {
pub file_name: &'static str,
pub url: &'static str,
pub bytes: u64,
pub sha256: &'static str,
pub unpack: Unpack,
}Expand description
One file of an engine’s model and where to download it.
Fields§
§file_name: &'static strThe file’s name on disk, inside whatever folder holds the model.
url: &'static str§bytes: u64Size of what url serves. For an archive member, the whole archive.
sha256: &'static strSHA-256 of what url serves, in lowercase hex.
unpack: UnpackTrait Implementations§
Source§impl Clone for ModelDownload
impl Clone for ModelDownload
impl Copy for ModelDownload
Source§impl Debug for ModelDownload
impl Debug for ModelDownload
impl Eq for ModelDownload
Source§impl PartialEq for ModelDownload
impl PartialEq for ModelDownload
impl StructuralPartialEq for ModelDownload
Auto Trait Implementations§
impl Freeze for ModelDownload
impl RefUnwindSafe for ModelDownload
impl Send for ModelDownload
impl Sync for ModelDownload
impl Unpin for ModelDownload
impl UnsafeUnpin for ModelDownload
impl UnwindSafe for ModelDownload
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