pub struct RealtimeServerEventInputAudioBufferCleared {
pub event_id: String,
}
Expand description
Returned when the input audio buffer is cleared by the client with a
input_audio_buffer.clear
event.
Fields§
§event_id: String
The unique ID of the server event.
Implementations§
Source§impl RealtimeServerEventInputAudioBufferCleared
impl RealtimeServerEventInputAudioBufferCleared
Sourcepub fn builder() -> RealtimeServerEventInputAudioBufferClearedBuilder<((),)>
pub fn builder() -> RealtimeServerEventInputAudioBufferClearedBuilder<((),)>
Create a builder for building RealtimeServerEventInputAudioBufferCleared
.
On the builder, call .event_id(...)
to set the values of the fields.
Finally, call .build()
to create the instance of RealtimeServerEventInputAudioBufferCleared
.
Trait Implementations§
Source§impl Clone for RealtimeServerEventInputAudioBufferCleared
impl Clone for RealtimeServerEventInputAudioBufferCleared
Source§fn clone(&self) -> RealtimeServerEventInputAudioBufferCleared
fn clone(&self) -> RealtimeServerEventInputAudioBufferCleared
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<'de> Deserialize<'de> for RealtimeServerEventInputAudioBufferCleared
impl<'de> Deserialize<'de> for RealtimeServerEventInputAudioBufferCleared
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
Source§impl PartialEq for RealtimeServerEventInputAudioBufferCleared
impl PartialEq for RealtimeServerEventInputAudioBufferCleared
Source§fn eq(&self, other: &RealtimeServerEventInputAudioBufferCleared) -> bool
fn eq(&self, other: &RealtimeServerEventInputAudioBufferCleared) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RealtimeServerEventInputAudioBufferCleared
Auto Trait Implementations§
impl Freeze for RealtimeServerEventInputAudioBufferCleared
impl RefUnwindSafe for RealtimeServerEventInputAudioBufferCleared
impl Send for RealtimeServerEventInputAudioBufferCleared
impl Sync for RealtimeServerEventInputAudioBufferCleared
impl Unpin for RealtimeServerEventInputAudioBufferCleared
impl UnwindSafe for RealtimeServerEventInputAudioBufferCleared
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