pub enum TurnInput {
Voice(Vec<i16>),
Text(String),
}Expand description
The user input that opens a chat turn.
Variants§
Voice(Vec<i16>)
Captured mic PCM (16 kHz mono) to transcribe before the model turn.
Text(String)
Already-text input (the text fallback frame) — skips ASR.
Auto Trait Implementations§
impl Freeze for TurnInput
impl RefUnwindSafe for TurnInput
impl Send for TurnInput
impl Sync for TurnInput
impl Unpin for TurnInput
impl UnsafeUnpin for TurnInput
impl UnwindSafe for TurnInput
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