pub struct ChatCompletionResponseMessage_Audio {
pub id: String,
pub expires_at: i64,
pub data: String,
pub transcript: String,
}
Expand description
If the audio output modality is requested, this object contains data about the audio response from the model.
Fields§
§id: String
Unique identifier for this audio response.
expires_at: i64
The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.
data: String
Base64 encoded audio bytes generated by the model, in the format specified in the request.
transcript: String
Transcript of the audio generated by the model.
Trait Implementations§
Source§impl Clone for ChatCompletionResponseMessage_Audio
impl Clone for ChatCompletionResponseMessage_Audio
Source§fn clone(&self) -> ChatCompletionResponseMessage_Audio
fn clone(&self) -> ChatCompletionResponseMessage_Audio
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 moreSource§impl Default for ChatCompletionResponseMessage_Audio
impl Default for ChatCompletionResponseMessage_Audio
Source§fn default() -> ChatCompletionResponseMessage_Audio
fn default() -> ChatCompletionResponseMessage_Audio
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChatCompletionResponseMessage_Audio
impl RefUnwindSafe for ChatCompletionResponseMessage_Audio
impl Send for ChatCompletionResponseMessage_Audio
impl Sync for ChatCompletionResponseMessage_Audio
impl Unpin for ChatCompletionResponseMessage_Audio
impl UnwindSafe for ChatCompletionResponseMessage_Audio
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