#[non_exhaustive]pub enum VapiEvent {
StatusUpdate {
status: String,
ended_reason: Option<String>,
},
SpeechUpdate {
status: String,
role: Option<String>,
},
Transcript {
role: Option<String>,
transcript_type: Option<String>,
transcript: Option<String>,
},
ModelOutput {
output: Option<String>,
},
ConversationUpdate {
conversation: Value,
},
ToolCall {
event_type: String,
payload: Value,
},
EndOfCallReport {
report: Value,
},
Unknown(Value),
Malformed {
byte_len: usize,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StatusUpdate
SpeechUpdate
Transcript
ModelOutput
ConversationUpdate
ToolCall
EndOfCallReport
Unknown(Value)
Malformed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VapiEvent
impl RefUnwindSafe for VapiEvent
impl Send for VapiEvent
impl Sync for VapiEvent
impl Unpin for VapiEvent
impl UnsafeUnpin for VapiEvent
impl UnwindSafe for VapiEvent
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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