pub struct VoiceOutput {
pub is_speaking: Option<bool>,
pub current_text: Option<String>,
pub tts_engine: Option<String>,
pub language: Option<String>,
pub voice: Option<String>,
}Expand description
Voice output status.
Fields§
§is_speaking: Option<bool>Whether speaking
current_text: Option<String>Current utterance
tts_engine: Option<String>TTS engine
language: Option<String>Language
voice: Option<String>Voice name
Trait Implementations§
Source§impl Clone for VoiceOutput
impl Clone for VoiceOutput
Source§fn clone(&self) -> VoiceOutput
fn clone(&self) -> VoiceOutput
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 VoiceOutput
impl Debug for VoiceOutput
Source§impl Default for VoiceOutput
impl Default for VoiceOutput
Source§fn default() -> VoiceOutput
fn default() -> VoiceOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VoiceOutput
impl<'de> Deserialize<'de> for VoiceOutput
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 VoiceOutput
impl RefUnwindSafe for VoiceOutput
impl Send for VoiceOutput
impl Sync for VoiceOutput
impl Unpin for VoiceOutput
impl UnwindSafe for VoiceOutput
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