#[non_exhaustive]pub struct VoiceConfig {
pub prebuilt_voice_config: Option<PrebuiltVoiceConfig>,
pub voice: Option<String>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.prebuilt_voice_config: Option<PrebuiltVoiceConfig>§voice: Option<String>Prebuilt speaker name, stored voice_... ID, or client-managed voicekey_....
rest: RestImplementations§
Source§impl VoiceConfig
impl VoiceConfig
Sourcepub fn builder() -> VoiceConfigBuilder
pub fn builder() -> VoiceConfigBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for VoiceConfig
impl Clone for VoiceConfig
Source§impl Debug for VoiceConfig
impl Debug for VoiceConfig
Source§impl DeclaredFields for VoiceConfig
impl DeclaredFields for VoiceConfig
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for VoiceConfig
impl<'de> Deserialize<'de> for VoiceConfig
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
Source§impl PartialEq for VoiceConfig
impl PartialEq for VoiceConfig
Source§impl Serialize for VoiceConfig
impl Serialize for VoiceConfig
impl StructuralPartialEq for VoiceConfig
Auto Trait Implementations§
impl Freeze for VoiceConfig
impl RefUnwindSafe for VoiceConfig
impl Send for VoiceConfig
impl Sync for VoiceConfig
impl Unpin for VoiceConfig
impl UnsafeUnpin for VoiceConfig
impl UnwindSafe for VoiceConfig
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