pub struct VoiceBuilder(/* private fields */);Expand description
Builder for Voice.
Implementations§
Source§impl VoiceBuilder
impl VoiceBuilder
pub fn accent(self, value: impl Into<String>) -> Self
pub fn context(self, value: impl Into<String>) -> Self
pub fn description(self, value: impl Into<String>) -> Self
pub fn display_name(self, value: impl Into<String>) -> Self
pub fn expire_time(self, value: impl Into<String>) -> Self
pub fn gender(self, value: impl Into<String>) -> Self
pub fn id(self, value: impl Into<String>) -> Self
pub fn key(self, value: impl Into<String>) -> Self
pub fn language_code(self, value: impl Into<String>) -> Self
pub fn model(self, value: impl Into<String>) -> Self
pub fn persona(self, value: impl Into<String>) -> Self
pub fn pitch(self, value: impl Into<Pitch>) -> Self
pub fn prompted(self, value: impl Into<PromptedVoice>) -> Self
pub fn region_code(self, value: impl Into<String>) -> Self
pub fn replicated(self, value: impl Into<ReplicatedVoice>) -> Self
pub fn sample_audio(self, value: impl Into<AudioData>) -> Self
pub fn usage(self, value: impl Into<Usage>) -> Self
pub fn rest(self, value: Rest) -> Self
Auto Trait Implementations§
impl Freeze for VoiceBuilder
impl RefUnwindSafe for VoiceBuilder
impl Send for VoiceBuilder
impl Sync for VoiceBuilder
impl Unpin for VoiceBuilder
impl UnsafeUnpin for VoiceBuilder
impl UnwindSafe for VoiceBuilder
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