pub struct ProcessedResponse {
pub output: String,
pub layer: Layer,
pub format_or_template: Option<String>,
pub tokens_saved: i64,
pub tokens_final: u32,
}Expand description
Output from LayeredPipeline::process.
Fields§
§output: StringThe text to send back to the LLM agent (either the original content, a hint, or a re-encoded body).
layer: LayerWhich layer terminated the decision.
format_or_template: Option<String>Optional identifier for L1/L2 format or template used.
tokens_saved: i64Tokens baseline (original) minus tokens final.
tokens_final: u32Token count of the output we’re returning.
Trait Implementations§
Source§impl Clone for ProcessedResponse
impl Clone for ProcessedResponse
Source§fn clone(&self) -> ProcessedResponse
fn clone(&self) -> ProcessedResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProcessedResponse
impl RefUnwindSafe for ProcessedResponse
impl Send for ProcessedResponse
impl Sync for ProcessedResponse
impl Unpin for ProcessedResponse
impl UnsafeUnpin for ProcessedResponse
impl UnwindSafe for ProcessedResponse
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