pub struct OutputAudioBufferClearEvent {
pub type_: String,
pub event_id: Option<String>,
}Expand description
WebRTC/SIP Only: Emit to cut off the current audio response.
Fields§
§type_: StringThe event type, must be output_audio_buffer.clear.
event_id: Option<String>The unique ID of the client event used for error handling.
Trait Implementations§
Source§impl Clone for OutputAudioBufferClearEvent
impl Clone for OutputAudioBufferClearEvent
Source§fn clone(&self) -> OutputAudioBufferClearEvent
fn clone(&self) -> OutputAudioBufferClearEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutputAudioBufferClearEvent
impl Debug for OutputAudioBufferClearEvent
Source§impl<'de> Deserialize<'de> for OutputAudioBufferClearEvent
impl<'de> Deserialize<'de> for OutputAudioBufferClearEvent
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 OutputAudioBufferClearEvent
impl RefUnwindSafe for OutputAudioBufferClearEvent
impl Send for OutputAudioBufferClearEvent
impl Sync for OutputAudioBufferClearEvent
impl Unpin for OutputAudioBufferClearEvent
impl UnsafeUnpin for OutputAudioBufferClearEvent
impl UnwindSafe for OutputAudioBufferClearEvent
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