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