pub struct SynthesizeRequest {
pub text: String,
pub voice: String,
pub language: Option<String>,
pub format: AudioFormat,
}Expand description
One text-to-speech request, built with SynthesizeRequest::new.
Fields§
§text: String§voice: String§language: Option<String>A BCP-47 tag steering pronunciation, when the caller knows it.
format: AudioFormatImplementations§
Trait Implementations§
Source§impl Clone for SynthesizeRequest
impl Clone for SynthesizeRequest
Source§impl Debug for SynthesizeRequest
impl Debug for SynthesizeRequest
impl Eq for SynthesizeRequest
Source§impl PartialEq for SynthesizeRequest
impl PartialEq for SynthesizeRequest
impl StructuralPartialEq for SynthesizeRequest
Auto Trait Implementations§
impl Freeze for SynthesizeRequest
impl RefUnwindSafe for SynthesizeRequest
impl Send for SynthesizeRequest
impl Sync for SynthesizeRequest
impl Unpin for SynthesizeRequest
impl UnsafeUnpin for SynthesizeRequest
impl UnwindSafe for SynthesizeRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.