pub struct HitlInterruptEvent {
pub id: String,
pub action_name: String,
pub action_args: HashMap<String, Value>,
pub description: String,
}Expand description
Emitted when the agent pauses awaiting human approval.
Call ChatResource::decide to resume the run.
Fields§
§id: String§action_name: String§action_args: HashMap<String, Value>§description: StringTrait Implementations§
Source§impl Clone for HitlInterruptEvent
impl Clone for HitlInterruptEvent
Source§fn clone(&self) -> HitlInterruptEvent
fn clone(&self) -> HitlInterruptEvent
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 HitlInterruptEvent
impl Debug for HitlInterruptEvent
Source§impl Default for HitlInterruptEvent
impl Default for HitlInterruptEvent
Source§fn default() -> HitlInterruptEvent
fn default() -> HitlInterruptEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HitlInterruptEvent
impl<'de> Deserialize<'de> for HitlInterruptEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HitlInterruptEvent
impl RefUnwindSafe for HitlInterruptEvent
impl Send for HitlInterruptEvent
impl Sync for HitlInterruptEvent
impl Unpin for HitlInterruptEvent
impl UnsafeUnpin for HitlInterruptEvent
impl UnwindSafe for HitlInterruptEvent
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