pub struct CreateChatCompletionRequestAudio {
pub format: String,
pub voice: VoiceIdsShared,
}
Fields§
§format: String
Specifies the output audio format. Must be one of wav
, mp3
, flac
, opus
, or pcm16
.
voice: VoiceIdsShared
The voice the model uses to respond. Supported voices are alloy
, ash
, ballad
, coral
, echo
, fable
, nova
, onyx
, sage
, and shimmer
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CreateChatCompletionRequestAudio
impl<'de> Deserialize<'de> for CreateChatCompletionRequestAudio
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 CreateChatCompletionRequestAudio
impl RefUnwindSafe for CreateChatCompletionRequestAudio
impl Send for CreateChatCompletionRequestAudio
impl Sync for CreateChatCompletionRequestAudio
impl Unpin for CreateChatCompletionRequestAudio
impl UnwindSafe for CreateChatCompletionRequestAudio
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