pub struct TriggerContext {
pub prompt: Option<String>,
pub reasoning_trace: Option<String>,
pub context_signals: Vec<String>,
pub session_id: Option<String>,
pub agent_model: Option<String>,
}Expand description
Trigger context - full context that triggered this evolution
Fields§
§prompt: Option<String>Original user/agent prompt (max 2000 chars)
reasoning_trace: Option<String>Agent’s reasoning chain before executing (max 4000 chars)
context_signals: Vec<String>Additional contextual signals beyond trigger
session_id: Option<String>Session identifier for cross-session tracking
agent_model: Option<String>The LLM model used
Trait Implementations§
Source§impl Clone for TriggerContext
impl Clone for TriggerContext
Source§fn clone(&self) -> TriggerContext
fn clone(&self) -> TriggerContext
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 TriggerContext
impl Debug for TriggerContext
Source§impl Default for TriggerContext
impl Default for TriggerContext
Source§fn default() -> TriggerContext
fn default() -> TriggerContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TriggerContext
impl<'de> Deserialize<'de> for TriggerContext
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 TriggerContext
impl RefUnwindSafe for TriggerContext
impl Send for TriggerContext
impl Sync for TriggerContext
impl Unpin for TriggerContext
impl UnsafeUnpin for TriggerContext
impl UnwindSafe for TriggerContext
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