pub struct TtsModelInfoDto {
pub id: String,
pub name: String,
pub size_bytes: u64,
pub size_display: String,
pub voice_count: u32,
pub is_downloaded: bool,
}Expand description
Information about the TTS model bundle.
Fields§
§id: StringModel identifier.
name: StringHuman-readable name.
size_bytes: u64Download size in bytes.
size_display: StringHuman-readable size string.
voice_count: u32Number of available voices in this bundle.
is_downloaded: boolWhether the model archive is already present on disk.
Trait Implementations§
Source§impl Clone for TtsModelInfoDto
impl Clone for TtsModelInfoDto
Source§fn clone(&self) -> TtsModelInfoDto
fn clone(&self) -> TtsModelInfoDto
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 TtsModelInfoDto
impl Debug for TtsModelInfoDto
Source§impl<'de> Deserialize<'de> for TtsModelInfoDto
impl<'de> Deserialize<'de> for TtsModelInfoDto
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 TtsModelInfoDto
impl RefUnwindSafe for TtsModelInfoDto
impl Send for TtsModelInfoDto
impl Sync for TtsModelInfoDto
impl Unpin for TtsModelInfoDto
impl UnwindSafe for TtsModelInfoDto
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