pub struct InterceptReq {
pub event: u16,
pub tool_name: String,
pub tool_call_id: String,
pub input: Vec<u8>,
pub content: String,
pub is_error: bool,
pub err_text: String,
pub prompt: String,
pub reason: String,
pub target_id: String,
pub turn_index: u32,
}Expand description
Host→ext for a blocking decision point.
Fields§
§event: u16§tool_name: String§tool_call_id: String§input: Vec<u8>§content: String§is_error: bool§err_text: String§prompt: String§reason: String§target_id: String§turn_index: u32Trait Implementations§
Source§impl Clone for InterceptReq
impl Clone for InterceptReq
Source§fn clone(&self) -> InterceptReq
fn clone(&self) -> InterceptReq
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 InterceptReq
impl Debug for InterceptReq
Source§impl Default for InterceptReq
impl Default for InterceptReq
Source§fn default() -> InterceptReq
fn default() -> InterceptReq
Returns the “default value” for a type. Read more
impl Eq for InterceptReq
Source§impl PartialEq for InterceptReq
impl PartialEq for InterceptReq
impl StructuralPartialEq for InterceptReq
Auto Trait Implementations§
impl Freeze for InterceptReq
impl RefUnwindSafe for InterceptReq
impl Send for InterceptReq
impl Sync for InterceptReq
impl Unpin for InterceptReq
impl UnsafeUnpin for InterceptReq
impl UnwindSafe for InterceptReq
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