pub struct MultispeakerPrebuiltVoice {
pub speaker_alias: Option<String>,
pub speaker_id: Option<String>,
}Expand description
Configuration for a single speaker in a Gemini TTS multi-speaker setup. Enables dialogue between two speakers.
This type is not used in any activity, and only used as part of another schema.
Fields§
§speaker_alias: Option<String>Required. The speaker alias of the voice. This is the user-chosen speaker name that is used in the multispeaker text input, such as “Speaker1”.
speaker_id: Option<String>Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.
Trait Implementations§
Source§impl Clone for MultispeakerPrebuiltVoice
impl Clone for MultispeakerPrebuiltVoice
Source§fn clone(&self) -> MultispeakerPrebuiltVoice
fn clone(&self) -> MultispeakerPrebuiltVoice
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 MultispeakerPrebuiltVoice
impl Debug for MultispeakerPrebuiltVoice
Source§impl Default for MultispeakerPrebuiltVoice
impl Default for MultispeakerPrebuiltVoice
Source§fn default() -> MultispeakerPrebuiltVoice
fn default() -> MultispeakerPrebuiltVoice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MultispeakerPrebuiltVoice
impl<'de> Deserialize<'de> for MultispeakerPrebuiltVoice
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
impl Part for MultispeakerPrebuiltVoice
Auto Trait Implementations§
impl Freeze for MultispeakerPrebuiltVoice
impl RefUnwindSafe for MultispeakerPrebuiltVoice
impl Send for MultispeakerPrebuiltVoice
impl Sync for MultispeakerPrebuiltVoice
impl Unpin for MultispeakerPrebuiltVoice
impl UnwindSafe for MultispeakerPrebuiltVoice
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