pub struct ContextSources<'a> {
pub task: Option<&'a Task>,
pub mission: Option<&'a Mission>,
pub memories: &'a [Memory],
pub policies: &'a [PolicyBundle],
pub skills: &'a [Skill],
pub history: &'a [String],
pub tools: &'a [String],
pub agents: &'a [Agent],
pub lineage: Option<&'a Lineage>,
pub workers: &'a [Worker],
pub evidence: &'a [Evidence],
}Expand description
Defines what context sources are available for building.
Fields§
§task: Option<&'a Task>§mission: Option<&'a Mission>§memories: &'a [Memory]§policies: &'a [PolicyBundle]§skills: &'a [Skill]§history: &'a [String]§tools: &'a [String]§agents: &'a [Agent]§lineage: Option<&'a Lineage>§workers: &'a [Worker]§evidence: &'a [Evidence]Trait Implementations§
Source§impl<'a> Debug for ContextSources<'a>
impl<'a> Debug for ContextSources<'a>
Source§impl<'a> Default for ContextSources<'a>
impl<'a> Default for ContextSources<'a>
Source§fn default() -> ContextSources<'a>
fn default() -> ContextSources<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ContextSources<'a>
impl<'a> RefUnwindSafe for ContextSources<'a>
impl<'a> Send for ContextSources<'a>
impl<'a> Sync for ContextSources<'a>
impl<'a> Unpin for ContextSources<'a>
impl<'a> UnsafeUnpin for ContextSources<'a>
impl<'a> UnwindSafe for ContextSources<'a>
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