pub struct FileVerification {
pub filename: String,
pub size: u64,
pub status: VerifyStatus,
}Expand description
Result of verifying a single cached file against HuggingFace LFS metadata.
Fields§
§filename: StringFilename within the repository.
size: u64File size in bytes — local size when the file is present, otherwise
the expected size from the API (or 0 when neither is known).
status: VerifyStatusVerification result.
Trait Implementations§
Source§impl Clone for FileVerification
impl Clone for FileVerification
Source§fn clone(&self) -> FileVerification
fn clone(&self) -> FileVerification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileVerification
impl RefUnwindSafe for FileVerification
impl Send for FileVerification
impl Sync for FileVerification
impl Unpin for FileVerification
impl UnsafeUnpin for FileVerification
impl UnwindSafe for FileVerification
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