pub struct RealtimeClientEventInputAudioBufferAppend {
pub event_id: Option<String>,
pub audio: String,
}Available on crate feature
realtime only.Fields§
§event_id: Option<String>Optional client-generated ID used to identify this event.
audio: StringBase64-encoded audio bytes. This must be in the format specified by
the input_audio_format field in the session configuration.
Trait Implementations§
Source§impl Clone for RealtimeClientEventInputAudioBufferAppend
impl Clone for RealtimeClientEventInputAudioBufferAppend
Source§fn clone(&self) -> RealtimeClientEventInputAudioBufferAppend
fn clone(&self) -> RealtimeClientEventInputAudioBufferAppend
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 RealtimeClientEventInputAudioBufferAppend
impl Default for RealtimeClientEventInputAudioBufferAppend
Source§fn default() -> RealtimeClientEventInputAudioBufferAppend
fn default() -> RealtimeClientEventInputAudioBufferAppend
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RealtimeClientEventInputAudioBufferAppend
impl<'de> Deserialize<'de> for RealtimeClientEventInputAudioBufferAppend
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 From<RealtimeClientEventInputAudioBufferAppend> for Message
impl From<RealtimeClientEventInputAudioBufferAppend> for Message
Source§fn from(value: RealtimeClientEventInputAudioBufferAppend) -> Self
fn from(value: RealtimeClientEventInputAudioBufferAppend) -> Self
Converts to this type from the input type.
Source§impl From<RealtimeClientEventInputAudioBufferAppend> for RealtimeClientEvent
impl From<RealtimeClientEventInputAudioBufferAppend> for RealtimeClientEvent
Source§fn from(value: RealtimeClientEventInputAudioBufferAppend) -> Self
fn from(value: RealtimeClientEventInputAudioBufferAppend) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RealtimeClientEventInputAudioBufferAppend
impl RefUnwindSafe for RealtimeClientEventInputAudioBufferAppend
impl Send for RealtimeClientEventInputAudioBufferAppend
impl Sync for RealtimeClientEventInputAudioBufferAppend
impl Unpin for RealtimeClientEventInputAudioBufferAppend
impl UnwindSafe for RealtimeClientEventInputAudioBufferAppend
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