pub struct FamilyEntry {
pub repo_id: String,
pub quant_method: Option<String>,
}Expand description
One repository inside a cached family, with optional quantization label.
Returned by list_cached_families so callers can render a quant column
alongside the repo ID without re-reading every snapshot’s config.json
in a second pass.
Fields§
§repo_id: StringThe repository identifier (e.g., "meta-llama/Llama-3.2-1B").
quant_method: Option<String>Quantization method as reported by quantization_config.quant_method
in the cached config.json. Falls back to "gguf" when any cached
file in the newest snapshot directory has a .gguf extension.
None for full-precision repos.
Trait Implementations§
Source§impl Clone for FamilyEntry
impl Clone for FamilyEntry
Source§fn clone(&self) -> FamilyEntry
fn clone(&self) -> FamilyEntry
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 moreSource§impl Debug for FamilyEntry
impl Debug for FamilyEntry
Source§impl PartialEq for FamilyEntry
impl PartialEq for FamilyEntry
Source§fn eq(&self, other: &FamilyEntry) -> bool
fn eq(&self, other: &FamilyEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FamilyEntry
impl StructuralPartialEq for FamilyEntry
Auto Trait Implementations§
impl Freeze for FamilyEntry
impl RefUnwindSafe for FamilyEntry
impl Send for FamilyEntry
impl Sync for FamilyEntry
impl Unpin for FamilyEntry
impl UnsafeUnpin for FamilyEntry
impl UnwindSafe for FamilyEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.