#[non_exhaustive]pub struct ModelManagerLabels {Show 14 fields
pub picker: ModelPickerLabels,
pub understood: String,
pub not_measured: String,
pub license: String,
pub memory: String,
pub decimal_comma: bool,
pub network_error: String,
pub disk_error: String,
pub wrong_file: String,
pub answered_in: String,
pub fast: String,
pub usable: String,
pub slow: String,
pub did_not_run: String,
}Expand description
The words a ModelManager shows. English by default.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.picker: ModelPickerLabelsThe picker’s own words.
understood: StringBefore how many requests a model understood.
not_measured: StringWhen that was not measured.
license: StringBefore a model’s license.
memory: StringBefore how much memory a model takes.
decimal_comma: boolWrites numbers with a decimal comma.
network_error: StringWhen the connection failed.
disk_error: StringWhen the disk refused.
wrong_file: StringWhen what arrived is not the published file.
answered_in: StringBefore how long the speed test took, in seconds.
fast: StringA fast result.
usable: StringA result that can be lived with.
slow: StringA slow result, suggesting what to do.
did_not_run: StringWhen the model did not run.
Implementations§
Source§impl ModelManagerLabels
impl ModelManagerLabels
Sourcepub fn from_texts(texts: &Texts) -> Self
pub fn from_texts(texts: &Texts) -> Self
The texts of a catalog, in its language. What it does not have comes from English.
Trait Implementations§
Source§impl Clone for ModelManagerLabels
impl Clone for ModelManagerLabels
Source§fn clone(&self) -> ModelManagerLabels
fn clone(&self) -> ModelManagerLabels
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 ModelManagerLabels
impl Debug for ModelManagerLabels
Auto Trait Implementations§
impl Freeze for ModelManagerLabels
impl RefUnwindSafe for ModelManagerLabels
impl Send for ModelManagerLabels
impl Sync for ModelManagerLabels
impl Unpin for ModelManagerLabels
impl UnsafeUnpin for ModelManagerLabels
impl UnwindSafe for ModelManagerLabels
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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> ErasedDestructor for Twhere
T: 'static,
§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