pub struct RealtimeClientEventOutputAudioBufferClear {
pub event_id: Option<String>,
pub type: String,
}
Expand description
WebRTC Only: Emit to cut off the current audio response.
Fields§
§event_id: Option<String>
The unique ID of the client event used for error handling.
type: String
The event type, must be output_audio_buffer.clear
.
Trait Implementations§
Source§impl Clone for RealtimeClientEventOutputAudioBufferClear
impl Clone for RealtimeClientEventOutputAudioBufferClear
Source§fn clone(&self) -> RealtimeClientEventOutputAudioBufferClear
fn clone(&self) -> RealtimeClientEventOutputAudioBufferClear
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 RealtimeClientEventOutputAudioBufferClear
impl Default for RealtimeClientEventOutputAudioBufferClear
Source§fn default() -> RealtimeClientEventOutputAudioBufferClear
fn default() -> RealtimeClientEventOutputAudioBufferClear
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeClientEventOutputAudioBufferClear
impl RefUnwindSafe for RealtimeClientEventOutputAudioBufferClear
impl Send for RealtimeClientEventOutputAudioBufferClear
impl Sync for RealtimeClientEventOutputAudioBufferClear
impl Unpin for RealtimeClientEventOutputAudioBufferClear
impl UnwindSafe for RealtimeClientEventOutputAudioBufferClear
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