pub struct Brief {
pub system: Option<String>,
pub messages: Vec<BriefMessage>,
pub tools: Vec<ToolSchema>,
pub receipt: BriefReceipt,
}Expand description
The assembled, budgeted, governance-reviewed bundle handed to the LLM.
Produced by crate::builder::BriefBuilder::build (Phase 2). The
BriefReceipt makes the assembly process auditable — per-source token
counts, dropped items, redactions, and timings.
Fields§
§system: Option<String>Optional system prompt assembled from contributing sources.
messages: Vec<BriefMessage>Conversation messages, in render order.
tools: Vec<ToolSchema>Tool schemas exposed to the model this turn.
receipt: BriefReceiptReceipt detailing how this brief was assembled.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Brief
impl<'de> Deserialize<'de> for Brief
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
impl StructuralPartialEq for Brief
Auto Trait Implementations§
impl Freeze for Brief
impl RefUnwindSafe for Brief
impl Send for Brief
impl Sync for Brief
impl Unpin for Brief
impl UnsafeUnpin for Brief
impl UnwindSafe for Brief
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