pub struct PrebuiltVoiceConfig {
pub voice_name: Option<String>,
}Expand description
The configuration for the prebuilt speaker to use.
Fields§
§voice_name: Option<String>The name of the prebuilt voice to use.
Trait Implementations§
Source§impl Clone for PrebuiltVoiceConfig
impl Clone for PrebuiltVoiceConfig
Source§fn clone(&self) -> PrebuiltVoiceConfig
fn clone(&self) -> PrebuiltVoiceConfig
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 PrebuiltVoiceConfig
impl Debug for PrebuiltVoiceConfig
Source§impl Default for PrebuiltVoiceConfig
impl Default for PrebuiltVoiceConfig
Source§fn default() -> PrebuiltVoiceConfig
fn default() -> PrebuiltVoiceConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrebuiltVoiceConfig
impl<'de> Deserialize<'de> for PrebuiltVoiceConfig
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 PrebuiltVoiceConfig
impl RefUnwindSafe for PrebuiltVoiceConfig
impl Send for PrebuiltVoiceConfig
impl Sync for PrebuiltVoiceConfig
impl Unpin for PrebuiltVoiceConfig
impl UnwindSafe for PrebuiltVoiceConfig
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