pub struct ZooStats {
pub total_models: usize,
pub total_downloads: u64,
pub total_size_bytes: u64,
pub avg_quality_score: f32,
pub category_counts: HashMap<ModelCategory, usize>,
pub tag_counts: HashMap<String, usize>,
}Expand description
Zoo statistics
Fields§
§total_models: usizeTotal number of models
total_downloads: u64Total downloads across all models
total_size_bytes: u64Total size of all models in bytes
avg_quality_score: f32Average quality score
category_counts: HashMap<ModelCategory, usize>Category counts
tag_counts: HashMap<String, usize>Tag counts
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZooStats
impl RefUnwindSafe for ZooStats
impl Send for ZooStats
impl Sync for ZooStats
impl Unpin for ZooStats
impl UnsafeUnpin for ZooStats
impl UnwindSafe for ZooStats
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more