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§fn clone(&self) -> ContentPartInputAudio
fn clone(&self) -> ContentPartInputAudio
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 ContentPartInputAudio
impl Debug for ContentPartInputAudio
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