pub enum InputEventEvent {
UserInput(String),
ComplexUserInput(UserInput),
ToolConfirmation(ToolConfirmation),
ToolResponse(ToolResponse),
QuestionResponse(UserQuestionsResponse),
HaltRequest(bool),
AutomatedTrigger(String),
CallHookResponse(CallHookResponse),
SessionEndRequest(bool),
PolicyDecisionResponse(PolicyDecisionResponse),
}Expand description
The event oneof of InputEvent, as an owned value.
Variants§
UserInput(String)
ComplexUserInput(UserInput)
ToolConfirmation(ToolConfirmation)
ToolResponse(ToolResponse)
QuestionResponse(UserQuestionsResponse)
HaltRequest(bool)
AutomatedTrigger(String)
CallHookResponse(CallHookResponse)
SessionEndRequest(bool)
PolicyDecisionResponse(PolicyDecisionResponse)
Trait Implementations§
Source§impl Clone for InputEventEvent
impl Clone for InputEventEvent
Source§fn clone(&self) -> InputEventEvent
fn clone(&self) -> InputEventEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputEventEvent
impl Debug for InputEventEvent
Source§impl PartialEq for InputEventEvent
impl PartialEq for InputEventEvent
impl StructuralPartialEq for InputEventEvent
Auto Trait Implementations§
impl Freeze for InputEventEvent
impl RefUnwindSafe for InputEventEvent
impl Send for InputEventEvent
impl Sync for InputEventEvent
impl Unpin for InputEventEvent
impl UnsafeUnpin for InputEventEvent
impl UnwindSafe for InputEventEvent
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