pub struct MultiSpeakerVoiceConfig {
pub speaker_voice_configs: Option<Vec<MultispeakerPrebuiltVoice>>,
}Expand description
Configuration for a multi-speaker text-to-speech setup. Enables the use of up to two distinct voices in a single synthesis request.
This type is not used in any activity, and only used as part of another schema.
Fields§
§speaker_voice_configs: Option<Vec<MultispeakerPrebuiltVoice>>Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.
Trait Implementations§
Source§impl Clone for MultiSpeakerVoiceConfig
impl Clone for MultiSpeakerVoiceConfig
Source§fn clone(&self) -> MultiSpeakerVoiceConfig
fn clone(&self) -> MultiSpeakerVoiceConfig
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 MultiSpeakerVoiceConfig
impl Debug for MultiSpeakerVoiceConfig
Source§impl Default for MultiSpeakerVoiceConfig
impl Default for MultiSpeakerVoiceConfig
Source§fn default() -> MultiSpeakerVoiceConfig
fn default() -> MultiSpeakerVoiceConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MultiSpeakerVoiceConfig
impl<'de> Deserialize<'de> for MultiSpeakerVoiceConfig
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 Serialize for MultiSpeakerVoiceConfig
impl Serialize for MultiSpeakerVoiceConfig
impl Part for MultiSpeakerVoiceConfig
Auto Trait Implementations§
impl Freeze for MultiSpeakerVoiceConfig
impl RefUnwindSafe for MultiSpeakerVoiceConfig
impl Send for MultiSpeakerVoiceConfig
impl Sync for MultiSpeakerVoiceConfig
impl Unpin for MultiSpeakerVoiceConfig
impl UnwindSafe for MultiSpeakerVoiceConfig
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