pub struct VoiceChannelConfig {
pub enabled: bool,
pub stt_model: Option<String>,
pub tts_model: Option<String>,
pub tts_voice: Option<String>,
}Fields§
§enabled: bool§stt_model: Option<String>§tts_model: Option<String>§tts_voice: Option<String>Trait Implementations§
Source§impl Clone for VoiceChannelConfig
impl Clone for VoiceChannelConfig
Source§fn clone(&self) -> VoiceChannelConfig
fn clone(&self) -> VoiceChannelConfig
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 VoiceChannelConfig
impl Debug for VoiceChannelConfig
Source§impl Default for VoiceChannelConfig
impl Default for VoiceChannelConfig
Source§fn default() -> VoiceChannelConfig
fn default() -> VoiceChannelConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VoiceChannelConfig
impl<'de> Deserialize<'de> for VoiceChannelConfig
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 VoiceChannelConfig
impl RefUnwindSafe for VoiceChannelConfig
impl Send for VoiceChannelConfig
impl Sync for VoiceChannelConfig
impl Unpin for VoiceChannelConfig
impl UnsafeUnpin for VoiceChannelConfig
impl UnwindSafe for VoiceChannelConfig
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