pub struct InputAudioBufferClearEvent {
pub type_: String,
pub event_id: Option<String>,
}Expand description
Send this event to clear the audio bytes in the buffer.
Fields§
§type_: StringThe event type, must be input_audio_buffer.clear.
event_id: Option<String>Optional client-generated ID used to identify this event.
Trait Implementations§
Source§impl Clone for InputAudioBufferClearEvent
impl Clone for InputAudioBufferClearEvent
Source§fn clone(&self) -> InputAudioBufferClearEvent
fn clone(&self) -> InputAudioBufferClearEvent
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 InputAudioBufferClearEvent
impl Debug for InputAudioBufferClearEvent
Source§impl<'de> Deserialize<'de> for InputAudioBufferClearEvent
impl<'de> Deserialize<'de> for InputAudioBufferClearEvent
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 InputAudioBufferClearEvent
impl RefUnwindSafe for InputAudioBufferClearEvent
impl Send for InputAudioBufferClearEvent
impl Sync for InputAudioBufferClearEvent
impl Unpin for InputAudioBufferClearEvent
impl UnsafeUnpin for InputAudioBufferClearEvent
impl UnwindSafe for InputAudioBufferClearEvent
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