pub struct DictateModelsSnapshot {Show 15 fields
pub enabled: bool,
pub models_dir: Option<PathBuf>,
pub speaking: TtsView,
pub in_use: Vec<InUseModel>,
pub check: CatalogueCheck,
pub updates: Vec<ModelUpdate>,
pub rows: Vec<CatalogueRow>,
pub install: InstallState,
pub activate: ActivateState,
pub installed: Vec<InstalledModel>,
pub bench: BenchState,
pub results: Vec<BenchResult>,
pub speaking_bench: SpeakingBenchState,
pub speaking_results: Vec<SpeakingBenchResult>,
pub read_aloud: ReadAloudState,
}Expand description
Everything the models page draws, in one read.
Fields§
§enabled: boolWhether [dictate] enabled is set. Carried rather than inferred
from an empty in_use: a failed preflight empties it, and a
switched-off section still carries the speaking row.
models_dir: Option<PathBuf>Where the dictation models land.
speaking: TtsViewThe speaking role’s own read: its model, the variants that can run, and the voices the installed model carries.
in_use: Vec<InUseModel>The models forge is configured to run, pins and live state.
check: CatalogueCheckThe catalogue’s own freshness.
updates: Vec<ModelUpdate>Per in-service model, the catalogue entry worth adopting, when one is.
rows: Vec<CatalogueRow>The whole feed, for the page’s search list.
install: InstallStateWhere the last model install got to.
activate: ActivateStateWhere the last model activation got to.
installed: Vec<InstalledModel>Every model downloaded from the feed on this machine, oldest first.
bench: BenchStateWhere the last bench got to: idle, running with its tick, or failed with its reason.
results: Vec<BenchResult>What benches have measured on this machine, newest first.
speaking_bench: SpeakingBenchStateWhere the speaking loop’s bench got to: idle, running with its tick, or failed with its reason.
speaking_results: Vec<SpeakingBenchResult>What speaking benches have measured on this machine, newest first.
read_aloud: ReadAloudStateThe read-aloud set: whether this machine has one, and its passage.
Trait Implementations§
Source§impl Clone for DictateModelsSnapshot
impl Clone for DictateModelsSnapshot
Source§impl Debug for DictateModelsSnapshot
impl Debug for DictateModelsSnapshot
Source§impl<'de> Deserialize<'de> for DictateModelsSnapshot
impl<'de> Deserialize<'de> for DictateModelsSnapshot
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>,
Source§impl PartialEq for DictateModelsSnapshot
impl PartialEq for DictateModelsSnapshot
Source§impl Serialize for DictateModelsSnapshot
impl Serialize for DictateModelsSnapshot
impl StructuralPartialEq for DictateModelsSnapshot
Auto Trait Implementations§
impl Freeze for DictateModelsSnapshot
impl RefUnwindSafe for DictateModelsSnapshot
impl Send for DictateModelsSnapshot
impl Sync for DictateModelsSnapshot
impl Unpin for DictateModelsSnapshot
impl UnsafeUnpin for DictateModelsSnapshot
impl UnwindSafe for DictateModelsSnapshot
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
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> ⓘ
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> ⓘ
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