pub struct VoiceModelsDto {
pub stt_models: Vec<SttModelInfoDto>,
pub tts_model: TtsModelInfoDto,
pub vad_downloaded: bool,
pub voices: Vec<VoiceInfoDto>,
}Expand description
Aggregated voice model catalog: STT list, TTS bundle, and VAD status.
Fields§
§stt_models: Vec<SttModelInfoDto>All known STT models with download status.
tts_model: TtsModelInfoDtoThe single TTS model bundle with download status.
vad_downloaded: boolWhether the Silero VAD model is downloaded.
voices: Vec<VoiceInfoDto>Available TTS voices (populated when TTS model is loaded).
Trait Implementations§
Source§impl Clone for VoiceModelsDto
impl Clone for VoiceModelsDto
Source§fn clone(&self) -> VoiceModelsDto
fn clone(&self) -> VoiceModelsDto
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 VoiceModelsDto
impl Debug for VoiceModelsDto
Source§impl<'de> Deserialize<'de> for VoiceModelsDto
impl<'de> Deserialize<'de> for VoiceModelsDto
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 VoiceModelsDto
impl RefUnwindSafe for VoiceModelsDto
impl Send for VoiceModelsDto
impl Sync for VoiceModelsDto
impl Unpin for VoiceModelsDto
impl UnwindSafe for VoiceModelsDto
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