pub struct ChatCompletionAudio {
pub id: String,
pub data: String,
pub expires_at: i64,
pub transcript: String,
}Expand description
If the audio output modality is requested, this object contains data
Fields§
§id: StringUnique identifier for this audio response.
data: StringBase64 encoded audio bytes generated by the model, in the format specified in
expires_at: i64The Unix timestamp (in seconds) for when this audio response will no longer be
transcript: StringTranscript of the audio generated by the model.
Trait Implementations§
Source§impl Clone for ChatCompletionAudio
impl Clone for ChatCompletionAudio
Source§fn clone(&self) -> ChatCompletionAudio
fn clone(&self) -> ChatCompletionAudio
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChatCompletionAudio
impl Debug for ChatCompletionAudio
Source§impl<'de> Deserialize<'de> for ChatCompletionAudio
impl<'de> Deserialize<'de> for ChatCompletionAudio
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 ChatCompletionAudio
impl RefUnwindSafe for ChatCompletionAudio
impl Send for ChatCompletionAudio
impl Sync for ChatCompletionAudio
impl Unpin for ChatCompletionAudio
impl UnsafeUnpin for ChatCompletionAudio
impl UnwindSafe for ChatCompletionAudio
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