pub struct ContentPartInputAudio {
pub data: String,
pub format: InputAudioFormat,
}Expand description
Base64 encoded audio input data.
Fields§
§data: StringBase64 encoded audio data.
format: InputAudioFormatThe format of the encoded audio data. Currently supports wav and
mp3.
Trait Implementations§
Source§impl Clone for ContentPartInputAudio
impl Clone for ContentPartInputAudio
Source§impl Debug for ContentPartInputAudio
impl Debug for ContentPartInputAudio
Source§impl<'de> Deserialize<'de> for ContentPartInputAudio
impl<'de> Deserialize<'de> for ContentPartInputAudio
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 ContentPartInputAudio
impl RefUnwindSafe for ContentPartInputAudio
impl Send for ContentPartInputAudio
impl Sync for ContentPartInputAudio
impl Unpin for ContentPartInputAudio
impl UnsafeUnpin for ContentPartInputAudio
impl UnwindSafe for ContentPartInputAudio
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