pub struct SpeakerConfig {
pub name: String,
pub voice: String,
}Available on crate feature
audio only.Expand description
Speaker configuration for multi-speaker TTS.
Fields§
§name: StringSpeaker name (must match the name used in the transcript).
voice: StringVoice name from the 30 available voices.
Implementations§
Source§impl SpeakerConfig
impl SpeakerConfig
Trait Implementations§
Source§impl Clone for SpeakerConfig
impl Clone for SpeakerConfig
Source§fn clone(&self) -> SpeakerConfig
fn clone(&self) -> SpeakerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpeakerConfig
impl RefUnwindSafe for SpeakerConfig
impl Send for SpeakerConfig
impl Sync for SpeakerConfig
impl Unpin for SpeakerConfig
impl UnsafeUnpin for SpeakerConfig
impl UnwindSafe for SpeakerConfig
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