pub struct VoiceStatusDto {
pub is_active: bool,
pub state: String,
pub mode: String,
pub stt_loaded: bool,
pub tts_loaded: bool,
pub stt_model_id: Option<String>,
pub tts_voice: Option<String>,
pub auto_speak: bool,
}Expand description
Current state of the voice pipeline.
Fields§
§is_active: boolWhether the pipeline is actively capturing/processing audio.
state: StringState machine label (e.g. "idle", "listening", "recording").
mode: StringInteraction mode label ("ptt" or "vad").
stt_loaded: boolWhether an STT engine is loaded.
tts_loaded: boolWhether a TTS engine is loaded.
stt_model_id: Option<String>ID of the currently loaded STT model, if any.
tts_voice: Option<String>Currently selected TTS voice, if loaded.
auto_speak: boolWhether LLM responses are spoken automatically.
Trait Implementations§
Source§impl Clone for VoiceStatusDto
impl Clone for VoiceStatusDto
Source§fn clone(&self) -> VoiceStatusDto
fn clone(&self) -> VoiceStatusDto
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 VoiceStatusDto
impl Debug for VoiceStatusDto
Source§impl<'de> Deserialize<'de> for VoiceStatusDto
impl<'de> Deserialize<'de> for VoiceStatusDto
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 VoiceStatusDto
impl RefUnwindSafe for VoiceStatusDto
impl Send for VoiceStatusDto
impl Sync for VoiceStatusDto
impl Unpin for VoiceStatusDto
impl UnwindSafe for VoiceStatusDto
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