pub struct DelegationBrief {
pub objective: String,
pub acceptance_criteria: Vec<String>,
pub constraints: Vec<String>,
pub deliverables: Vec<String>,
pub context_summary: Option<String>,
}Expand description
Structured brief attached to delegated work.
Fields§
§objective: StringHigh-level objective for the delegated work.
acceptance_criteria: Vec<String>Acceptance criteria for completion.
constraints: Vec<String>Constraints the subagent must respect.
deliverables: Vec<String>Expected deliverables/artifacts.
context_summary: Option<String>Condensed context summary for the child agent.
Implementations§
Source§impl DelegationBrief
impl DelegationBrief
Sourcepub fn as_prompt_section(&self) -> String
pub fn as_prompt_section(&self) -> String
Render the brief into prompt text.
Trait Implementations§
Source§impl Clone for DelegationBrief
impl Clone for DelegationBrief
Source§fn clone(&self) -> DelegationBrief
fn clone(&self) -> DelegationBrief
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 DelegationBrief
impl Debug for DelegationBrief
Source§impl Default for DelegationBrief
impl Default for DelegationBrief
Source§fn default() -> DelegationBrief
fn default() -> DelegationBrief
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DelegationBrief
impl<'de> Deserialize<'de> for DelegationBrief
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 DelegationBrief
impl RefUnwindSafe for DelegationBrief
impl Send for DelegationBrief
impl Sync for DelegationBrief
impl Unpin for DelegationBrief
impl UnwindSafe for DelegationBrief
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