pub struct EventNotify {
pub event: u16,
pub tool_name: String,
pub tool_call_id: String,
pub input: Vec<u8>,
pub is_error: bool,
pub prompt: String,
pub reason: String,
pub turn_index: u32,
pub session_id: String,
pub previous_session_id: String,
pub target_session_id: String,
}Expand description
Fire-and-forget host→ext lifecycle event.
Fields§
§event: u16§tool_name: String§tool_call_id: String§input: Vec<u8>§is_error: bool§prompt: String§reason: String§turn_index: u32§session_id: String§previous_session_id: String§target_session_id: StringTrait Implementations§
Source§impl Clone for EventNotify
impl Clone for EventNotify
Source§fn clone(&self) -> EventNotify
fn clone(&self) -> EventNotify
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 EventNotify
impl Debug for EventNotify
Source§impl Default for EventNotify
impl Default for EventNotify
Source§fn default() -> EventNotify
fn default() -> EventNotify
Returns the “default value” for a type. Read more
impl Eq for EventNotify
Source§impl PartialEq for EventNotify
impl PartialEq for EventNotify
impl StructuralPartialEq for EventNotify
Auto Trait Implementations§
impl Freeze for EventNotify
impl RefUnwindSafe for EventNotify
impl Send for EventNotify
impl Sync for EventNotify
impl Unpin for EventNotify
impl UnsafeUnpin for EventNotify
impl UnwindSafe for EventNotify
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