pub struct ModelFilePlan {
pub logical_name: &'static str,
pub relative_path: &'static str,
pub remote_url: &'static str,
pub expected_sha256: &'static str,
pub exact_size_bytes: u64,
pub max_transfer_bytes: u64,
pub local_status: LocalFileStatus,
pub action: DownloadAction,
pub temp_path_suffix: &'static str,
}Expand description
Plan for one required model file (RFC-043 §10.2).
Fields§
§logical_name: &'static str§relative_path: &'static str§remote_url: &'static str§expected_sha256: &'static str§exact_size_bytes: u64§max_transfer_bytes: u64§local_status: LocalFileStatus§action: DownloadAction§temp_path_suffix: &'static strTemporary path used during download (RFC-043 §9.1).
Implementations§
Trait Implementations§
Source§impl Clone for ModelFilePlan
impl Clone for ModelFilePlan
Auto Trait Implementations§
impl Freeze for ModelFilePlan
impl RefUnwindSafe for ModelFilePlan
impl Send for ModelFilePlan
impl Sync for ModelFilePlan
impl Unpin for ModelFilePlan
impl UnsafeUnpin for ModelFilePlan
impl UnwindSafe for ModelFilePlan
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