pub struct TtsRequest<'a> {
pub text: &'a str,
pub voice: &'a str,
}Expand description
What a provider is asked to speak.
Fields§
§text: &'a strThe line.
voice: &'a strVoice name. Providers that ignore it still see it in the cache key.
Trait Implementations§
Source§impl<'a> Clone for TtsRequest<'a>
impl<'a> Clone for TtsRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for TtsRequest<'a>
impl<'a> RefUnwindSafe for TtsRequest<'a>
impl<'a> Send for TtsRequest<'a>
impl<'a> Sync for TtsRequest<'a>
impl<'a> Unpin for TtsRequest<'a>
impl<'a> UnsafeUnpin for TtsRequest<'a>
impl<'a> UnwindSafe for TtsRequest<'a>
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