pub struct CatalogueRow {Show 13 fields
pub variant: String,
pub display_name: String,
pub family: String,
pub params: Option<u64>,
pub license: Option<String>,
pub languages: Vec<String>,
pub streaming: bool,
pub download: Option<DownloadFact>,
pub speed: Option<SpeedFact>,
pub wer: Option<WerFact>,
pub kind: EntryKind,
pub url: Option<String>,
pub download_count: Option<u64>,
}Expand description
One catalogue entry, as the page’s candidate rows draw it.
Fields§
§variant: String§display_name: String§family: String§params: Option<u64>The parameter count the source published, or None when it published
none - a row drawing 0M params would claim a measurement.
license: Option<String>§languages: Vec<String>§streaming: bool§download: Option<DownloadFact>The preferred quant’s size, when the entry ships one of them.
speed: Option<SpeedFact>§wer: Option<WerFact>The comparison axis: FLEURS English where the entry carries it, else its own headline benchmark.
kind: EntryKindWhat the entry is for: which role’s candidates it belongs in.
url: Option<String>Where a reader can read about it, when the feed names its own page.
The Hub’s entries do; the speech feed’s leave this None and the
page opens the entry’s document instead.
download_count: Option<u64>How many times the Hub has served it - the only pre-run signal a cleanup candidate carries, and what orders a sweep. The speech feed carries no count.
Trait Implementations§
Source§impl Clone for CatalogueRow
impl Clone for CatalogueRow
Source§impl Debug for CatalogueRow
impl Debug for CatalogueRow
Source§impl<'de> Deserialize<'de> for CatalogueRow
impl<'de> Deserialize<'de> for CatalogueRow
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
Source§impl PartialEq for CatalogueRow
impl PartialEq for CatalogueRow
Source§impl Serialize for CatalogueRow
impl Serialize for CatalogueRow
impl StructuralPartialEq for CatalogueRow
Auto Trait Implementations§
impl Freeze for CatalogueRow
impl RefUnwindSafe for CatalogueRow
impl Send for CatalogueRow
impl Sync for CatalogueRow
impl Unpin for CatalogueRow
impl UnsafeUnpin for CatalogueRow
impl UnwindSafe for CatalogueRow
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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