pub struct AudioEvent {
pub data: Vec<u8>,
pub format: String,
pub sample_rate: u32,
pub timestamp: String,
}Expand description
Audio event - AI’s audio response
Fields§
§data: Vec<u8>§format: String§sample_rate: u32§timestamp: StringTrait Implementations§
Source§impl Clone for AudioEvent
impl Clone for AudioEvent
Source§fn clone(&self) -> AudioEvent
fn clone(&self) -> AudioEvent
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 moreAuto Trait Implementations§
impl Freeze for AudioEvent
impl RefUnwindSafe for AudioEvent
impl Send for AudioEvent
impl Sync for AudioEvent
impl Unpin for AudioEvent
impl UnwindSafe for AudioEvent
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