pub struct AudioTranscriptionResponse {
pub text: String,
pub headers: Option<HashMap<String, String>>,
}
Expand description
Represents the response from an audio transcription request.
Fields§
§text: String
Transcribed text from the audio file.
headers: Option<HashMap<String, String>>
Optional headers from the response.
Trait Implementations§
Source§impl Debug for AudioTranscriptionResponse
impl Debug for AudioTranscriptionResponse
Source§impl<'de> Deserialize<'de> for AudioTranscriptionResponse
impl<'de> Deserialize<'de> for AudioTranscriptionResponse
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 AudioTranscriptionResponse
impl RefUnwindSafe for AudioTranscriptionResponse
impl Send for AudioTranscriptionResponse
impl Sync for AudioTranscriptionResponse
impl Unpin for AudioTranscriptionResponse
impl UnwindSafe for AudioTranscriptionResponse
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