pub struct InputAudio {
pub type: String,
pub data: String,
pub format: String,
}
Expand description
An audio input to the model.
Fields§
§type: String
The type of the input item.
data: String
Base64-encoded audio data.
format: String
The format of the audio data.
Trait Implementations§
Source§impl Clone for InputAudio
impl Clone for InputAudio
Source§fn clone(&self) -> InputAudio
fn clone(&self) -> InputAudio
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 Debug for InputAudio
impl Debug for InputAudio
Source§impl Default for InputAudio
impl Default for InputAudio
Source§fn default() -> InputAudio
fn default() -> InputAudio
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InputAudio
impl RefUnwindSafe for InputAudio
impl Send for InputAudio
impl Sync for InputAudio
impl Unpin for InputAudio
impl UnwindSafe for InputAudio
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