pub struct SttModelInfoDto {
pub id: String,
pub name: String,
pub size_bytes: u64,
pub size_display: String,
pub english_only: bool,
pub quality: u8,
pub speed: u8,
pub is_default: bool,
pub is_downloaded: bool,
}Expand description
Information about a single STT model.
Fields§
§id: StringModel identifier (e.g. "base.en").
name: StringHuman-readable name.
size_bytes: u64Download size in bytes.
size_display: StringHuman-readable size string.
english_only: boolWhether this model is English-only.
quality: u8Quality rating (1–5).
speed: u8Relative speed rating (1 = fastest).
is_default: boolWhether this is the recommended default model.
is_downloaded: boolWhether the model archive is already present on disk.
Trait Implementations§
Source§impl Clone for SttModelInfoDto
impl Clone for SttModelInfoDto
Source§fn clone(&self) -> SttModelInfoDto
fn clone(&self) -> SttModelInfoDto
Returns a duplicate of the value. Read more
1.0.0 · 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 SttModelInfoDto
impl Debug for SttModelInfoDto
Source§impl<'de> Deserialize<'de> for SttModelInfoDto
impl<'de> Deserialize<'de> for SttModelInfoDto
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
Auto Trait Implementations§
impl Freeze for SttModelInfoDto
impl RefUnwindSafe for SttModelInfoDto
impl Send for SttModelInfoDto
impl Sync for SttModelInfoDto
impl Unpin for SttModelInfoDto
impl UnwindSafe for SttModelInfoDto
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