pub struct SpeechConfigBuilder(/* private fields */);Expand description
Builder for SpeechConfig.
Implementations§
Source§impl SpeechConfigBuilder
impl SpeechConfigBuilder
pub fn voice_config(self, value: impl Into<VoiceConfig>) -> Self
pub fn multi_speaker_voice_config( self, value: impl Into<MultiSpeakerVoiceConfig>, ) -> Self
pub fn language_code(self, value: impl Into<String>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> SpeechConfig
pub fn build(self) -> SpeechConfig
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for SpeechConfigBuilder
impl RefUnwindSafe for SpeechConfigBuilder
impl Send for SpeechConfigBuilder
impl Sync for SpeechConfigBuilder
impl Unpin for SpeechConfigBuilder
impl UnsafeUnpin for SpeechConfigBuilder
impl UnwindSafe for SpeechConfigBuilder
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