pub struct TextToSpeechParamBuilder { /* private fields */ }
Expand description
Builder for TextToSpeechParam
.
Implementations§
Source§impl TextToSpeechParamBuilder
impl TextToSpeechParamBuilder
pub fn model<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn input(&mut self, value: Input) -> &mut Self
pub fn stream<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn parameters<VALUE: Into<Parameters>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<TextToSpeechParam, TextToSpeechParamBuilderError>
pub fn build(&self) -> Result<TextToSpeechParam, TextToSpeechParamBuilderError>
Trait Implementations§
Source§impl Clone for TextToSpeechParamBuilder
impl Clone for TextToSpeechParamBuilder
Source§fn clone(&self) -> TextToSpeechParamBuilder
fn clone(&self) -> TextToSpeechParamBuilder
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 moreAuto Trait Implementations§
impl Freeze for TextToSpeechParamBuilder
impl RefUnwindSafe for TextToSpeechParamBuilder
impl Send for TextToSpeechParamBuilder
impl Sync for TextToSpeechParamBuilder
impl Unpin for TextToSpeechParamBuilder
impl UnwindSafe for TextToSpeechParamBuilder
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