pub struct RepoFile {
pub name: String,
pub size: u64,
pub sha256: Option<String>,
}Expand description
One GGUF file in a repo.
Fields§
§name: String§size: u64§sha256: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RepoFile
impl<'de> Deserialize<'de> for RepoFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RepoFile
impl StructuralPartialEq for RepoFile
Auto Trait Implementations§
impl Forget for RepoFile
impl Freeze for RepoFile
impl Move for RepoFile
impl RefUnwindSafe for RepoFile
impl Send for RepoFilewhere
RawVecInner: Send,
impl Sync for RepoFilewhere
RawVecInner: Sync,
impl Unpin for RepoFile
impl UnsafeUnpin for RepoFile
impl UnwindSafe for RepoFilewhere
RawVecInner: UnwindSafe,
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