pub struct Spec {
pub name: String,
pub description: String,
pub model: ModelRef,
pub data_policy: DataPolicy,
pub read_roots: Vec<PathBuf>,
pub block: PathBuf,
}Expand description
A parsed spec.
Fields§
§name: StringJob name, used to submit against it.
description: StringTrigger conditions for a calling agent — when to use this, never how it works. A description that summarises the workflow invites an agent to act on the summary instead of reading the real contract.
model: ModelRefWhich model serves this job’s inference.
data_policy: DataPolicyData-handling policy; see DataPolicy.
read_roots: Vec<PathBuf>Directories this job may read beneath. Empty means none.
block: PathBufThe proc-block implementing the job.
Trait Implementations§
impl StructuralPartialEq for Spec
Auto Trait Implementations§
impl Freeze for Spec
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnsafeUnpin for Spec
impl UnwindSafe for Spec
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