pub struct ChatCompletionResponseMessageAudio {
pub id: String,
pub expires_at: u32,
pub data: String,
pub transcript: String,
}Fields§
§id: StringUnique identifier for this audio response.
expires_at: u32The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.
data: StringBase64 encoded audio bytes generated by the model, in the format specified in the request.
transcript: StringTranscript of the audio generated by the model.
Trait Implementations§
Source§impl Clone for ChatCompletionResponseMessageAudio
impl Clone for ChatCompletionResponseMessageAudio
Source§fn clone(&self) -> ChatCompletionResponseMessageAudio
fn clone(&self) -> ChatCompletionResponseMessageAudio
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 ChatCompletionResponseMessageAudio
impl Default for ChatCompletionResponseMessageAudio
Source§fn default() -> ChatCompletionResponseMessageAudio
fn default() -> ChatCompletionResponseMessageAudio
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for ChatCompletionResponseMessageAudio
impl PartialEq for ChatCompletionResponseMessageAudio
Source§fn eq(&self, other: &ChatCompletionResponseMessageAudio) -> bool
fn eq(&self, other: &ChatCompletionResponseMessageAudio) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatCompletionResponseMessageAudio
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