pub struct DownloadedRepo {
pub dir: PathBuf,
pub format: String,
pub checkpoint_files: Vec<PathBuf>,
pub config_json: Option<PathBuf>,
}Fields§
§dir: PathBuf§format: StringExtension of the format that was selected (e.g. “safetensors”).
checkpoint_files: Vec<PathBuf>Local paths of every checkpoint file downloaded, ready to pass to
zsfm-checkpoint::load_checkpoint.
config_json: Option<PathBuf>config.json, if the repo has one (best-effort, not required).
Auto Trait Implementations§
impl Freeze for DownloadedRepo
impl RefUnwindSafe for DownloadedRepo
impl Send for DownloadedRepo
impl Sync for DownloadedRepo
impl Unpin for DownloadedRepo
impl UnsafeUnpin for DownloadedRepo
impl UnwindSafe for DownloadedRepo
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