pub struct File {
pub name: &'static str,
pub size: u64,
pub sha256: &'static str,
}Expand description
一个模型文件。
Fields§
§name: &'static str§size: u64§sha256: &'static str小写十六进制的 SHA-256。
Trait Implementations§
impl Copy for File
impl Eq for File
impl StructuralPartialEq for File
Auto Trait Implementations§
impl Forget for File
impl Freeze for File
impl Move for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnsafeUnpin for File
impl UnwindSafe for File
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