pub struct TtsFallbackResult {
pub audio_data: Vec<u8>,
pub mime_type: String,
pub source: TtsSource,
}Expand description
Combined result from the TTS fallback chain.
Fields§
§audio_data: Vec<u8>Raw audio data.
mime_type: StringMIME type of the audio.
source: TtsSourceWhich engine produced the result.
Trait Implementations§
Source§impl Clone for TtsFallbackResult
impl Clone for TtsFallbackResult
Source§fn clone(&self) -> TtsFallbackResult
fn clone(&self) -> TtsFallbackResult
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 TtsFallbackResult
impl RefUnwindSafe for TtsFallbackResult
impl Send for TtsFallbackResult
impl Sync for TtsFallbackResult
impl Unpin for TtsFallbackResult
impl UnsafeUnpin for TtsFallbackResult
impl UnwindSafe for TtsFallbackResult
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