pub struct SpeechToTextResponse {
pub text: String,
}
Expand description
Represents the response from a speech-to-text transcription request.
The text
field contains the transcribed text from the audio input.
Fields§
§text: String
Trait Implementations§
Source§impl Clone for SpeechToTextResponse
impl Clone for SpeechToTextResponse
Source§fn clone(&self) -> SpeechToTextResponse
fn clone(&self) -> SpeechToTextResponse
Returns a copy 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 moreSource§impl Debug for SpeechToTextResponse
impl Debug for SpeechToTextResponse
Source§impl<'de> Deserialize<'de> for SpeechToTextResponse
impl<'de> Deserialize<'de> for SpeechToTextResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SpeechToTextResponse
impl RefUnwindSafe for SpeechToTextResponse
impl Send for SpeechToTextResponse
impl Sync for SpeechToTextResponse
impl Unpin for SpeechToTextResponse
impl UnwindSafe for SpeechToTextResponse
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