pub struct InputAudio {
pub data: String,
pub format: String,
pub _type: String,
}Fields§
§data: StringBase64-encoded audio data.
format: StringThe format of the audio data. Currently supported formats are mp3 and wav.
_type: StringThe type of the input item. Always input_audio.
Trait Implementations§
Source§impl Debug for InputAudio
impl Debug for InputAudio
Source§impl<'de> Deserialize<'de> for InputAudio
impl<'de> Deserialize<'de> for InputAudio
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 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