pub struct ForkLens {
pub lens: String,
pub system_prompt: String,
pub task: String,
pub output_schema: Option<Value>,
pub allowed_tools: Vec<String>,
}Expand description
A single lens — one perspective on the shared context.
Fields§
§lens: StringLabel for logging and tracking.
system_prompt: StringInjected as the system prompt for this lens.
task: StringThe specific task for this lens.
output_schema: Option<Value>Optional JSON Schema for structured output.
allowed_tools: Vec<String>Tools available to this lens (if empty, uses all registry tools).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ForkLens
impl RefUnwindSafe for ForkLens
impl Send for ForkLens
impl Sync for ForkLens
impl Unpin for ForkLens
impl UnsafeUnpin for ForkLens
impl UnwindSafe for ForkLens
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