pub enum ContextKey {
Seeds,
Hypotheses,
Strategies,
Constraints,
Signals,
Competitors,
Evaluations,
Proposals,
Diagnostic,
}Expand description
A key identifying a category of facts in context.
Agents declare dependencies on ContextKeys to enable
data-driven eligibility (only re-run when relevant data changes).
Variants§
Seeds
Initial seed facts from the RootIntent.
Hypotheses
Hypotheses under consideration.
Strategies
Evaluated strategies or solutions.
Constraints
Constraints that must be satisfied.
Signals
Signals from external sources.
Competitors
Competitor profiles and analysis.
Evaluations
Evaluations and scores for strategies.
Proposals
Internal storage for proposed facts before validation.
Diagnostic
Diagnostics and errors emitted by the engine.
Trait Implementations§
Source§impl Clone for ContextKey
impl Clone for ContextKey
Source§fn clone(&self) -> ContextKey
fn clone(&self) -> ContextKey
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 ContextKey
impl Debug for ContextKey
Source§impl<'de> Deserialize<'de> for ContextKey
impl<'de> Deserialize<'de> for ContextKey
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
Source§impl Hash for ContextKey
impl Hash for ContextKey
Source§impl IntoEnumIterator for ContextKey
impl IntoEnumIterator for ContextKey
Source§impl Ord for ContextKey
impl Ord for ContextKey
Source§fn cmp(&self, other: &ContextKey) -> Ordering
fn cmp(&self, other: &ContextKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ContextKey
impl PartialEq for ContextKey
Source§impl PartialOrd for ContextKey
impl PartialOrd for ContextKey
Source§impl Serialize for ContextKey
impl Serialize for ContextKey
impl Copy for ContextKey
impl Eq for ContextKey
impl StructuralPartialEq for ContextKey
Auto Trait Implementations§
impl Freeze for ContextKey
impl RefUnwindSafe for ContextKey
impl Send for ContextKey
impl Sync for ContextKey
impl Unpin for ContextKey
impl UnwindSafe for ContextKey
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