pub struct EventActions {
pub escalate: bool,
pub skip_summarization: bool,
pub transfer_to_agent: Option<String>,
pub state_delta: HashMap<String, Value>,
}Expand description
Actions triggered by an event — control flow and state mutations.
Fields§
§escalate: boolIf true, escalate to a human or parent agent.
skip_summarization: boolIf true, skip summarization of this event’s content.
transfer_to_agent: Option<String>Transfer control to another agent by name.
state_delta: HashMap<String, Value>State mutations (key → new value).
Implementations§
Trait Implementations§
Source§impl Clone for EventActions
impl Clone for EventActions
Source§fn clone(&self) -> EventActions
fn clone(&self) -> EventActions
Returns a duplicate of the value. Read more
1.0.0 · 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 EventActions
impl Debug for EventActions
Source§impl Default for EventActions
impl Default for EventActions
Source§fn default() -> EventActions
fn default() -> EventActions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventActions
impl<'de> Deserialize<'de> for EventActions
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 EventActions
impl RefUnwindSafe for EventActions
impl Send for EventActions
impl Sync for EventActions
impl Unpin for EventActions
impl UnwindSafe for EventActions
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