pub struct RealtimeClientEventInputAudioBufferClear {
pub event_id: Option<String>,
pub type: String,
}
Expand description
Send this event to clear the audio bytes in the 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.clear
.
Trait Implementations§
Source§impl Clone for RealtimeClientEventInputAudioBufferClear
impl Clone for RealtimeClientEventInputAudioBufferClear
Source§fn clone(&self) -> RealtimeClientEventInputAudioBufferClear
fn clone(&self) -> RealtimeClientEventInputAudioBufferClear
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 Default for RealtimeClientEventInputAudioBufferClear
impl Default for RealtimeClientEventInputAudioBufferClear
Source§fn default() -> RealtimeClientEventInputAudioBufferClear
fn default() -> RealtimeClientEventInputAudioBufferClear
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeClientEventInputAudioBufferClear
impl RefUnwindSafe for RealtimeClientEventInputAudioBufferClear
impl Send for RealtimeClientEventInputAudioBufferClear
impl Sync for RealtimeClientEventInputAudioBufferClear
impl Unpin for RealtimeClientEventInputAudioBufferClear
impl UnwindSafe for RealtimeClientEventInputAudioBufferClear
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