pub struct ChatCompletionResponseMessageAudio {
pub data: String,
pub expires_at: i32,
pub id: String,
pub transcript: String,
}
Fields§
§data: String
Base64 encoded audio bytes generated by the model, in the format specified in the request.
expires_at: i32
The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.
id: String
Unique identifier for this audio response.
transcript: String
Transcript of the audio generated by the model.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatCompletionResponseMessageAudio
impl<'de> Deserialize<'de> for ChatCompletionResponseMessageAudio
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 ChatCompletionResponseMessageAudio
impl RefUnwindSafe for ChatCompletionResponseMessageAudio
impl Send for ChatCompletionResponseMessageAudio
impl Sync for ChatCompletionResponseMessageAudio
impl Unpin for ChatCompletionResponseMessageAudio
impl UnwindSafe for ChatCompletionResponseMessageAudio
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