pub struct ModelInfo {
pub id: String,
pub url: String,
pub sha256: String,
pub size_bytes: u64,
}Expand description
Information about a downloadable model.
Fields§
§id: StringModel identifier (e.g., “sherpa-onnx-streaming-zipformer-en-20M”).
url: StringDownload URL.
sha256: StringExpected SHA-256 hash of the downloaded file.
size_bytes: u64File size in bytes (for progress reporting).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModelInfo
impl RefUnwindSafe for ModelInfo
impl Send for ModelInfo
impl Sync for ModelInfo
impl Unpin for ModelInfo
impl UnsafeUnpin for ModelInfo
impl UnwindSafe for ModelInfo
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