pub struct RepoFile {
pub filename: String,
pub size: Option<u64>,
pub sha256: Option<String>,
}Expand description
A file entry in a HuggingFace repository.
Fields§
§filename: StringThe relative path of the file within the repository.
size: Option<u64>File size in bytes (if known from API metadata).
sha256: Option<String>SHA256 hex digest (if the file is stored in LFS).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepoFile
impl RefUnwindSafe for RepoFile
impl Send for RepoFile
impl Sync for RepoFile
impl Unpin for RepoFile
impl UnsafeUnpin for RepoFile
impl UnwindSafe for RepoFile
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