pub struct RealtimeClientEventInputAudioBufferAppend {
pub event_id: Option<String>,
pub type: String,
pub audio: String,
}
Expand description
Send this event to append audio bytes to the input audio buffer.
Fields§
§event_id: Option<String>
Optional client-generated ID used to identify this event.
type: String
The event type, must be input_audio_buffer.append
.
audio: String
Base64-encoded audio bytes.
Trait Implementations§
Source§impl Clone for RealtimeClientEventInputAudioBufferAppend
impl Clone for RealtimeClientEventInputAudioBufferAppend
Source§fn clone(&self) -> RealtimeClientEventInputAudioBufferAppend
fn clone(&self) -> RealtimeClientEventInputAudioBufferAppend
Returns a copy 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 Default for RealtimeClientEventInputAudioBufferAppend
impl Default for RealtimeClientEventInputAudioBufferAppend
Source§fn default() -> RealtimeClientEventInputAudioBufferAppend
fn default() -> RealtimeClientEventInputAudioBufferAppend
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeClientEventInputAudioBufferAppend
impl RefUnwindSafe for RealtimeClientEventInputAudioBufferAppend
impl Send for RealtimeClientEventInputAudioBufferAppend
impl Sync for RealtimeClientEventInputAudioBufferAppend
impl Unpin for RealtimeClientEventInputAudioBufferAppend
impl UnwindSafe for RealtimeClientEventInputAudioBufferAppend
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