pub struct RenderedCompactionInput {
pub prompt_text: String,
pub transcript_bytes: usize,
pub included_classes: Vec<ContentClass>,
pub excluded_classes: Vec<ContentClass>,
pub base_prompt: &'static str,
}Expand description
The policy-filtered summarization input, computable WITHOUT any network operation — this is what disclosure previews and the dispatch path share, so what the user inspects is exactly what would be sent.
Fields§
§prompt_text: StringFull request text (conversation transcript + instruction template).
transcript_bytes: usizeApproximate bytes of CONVERSATION-DERIVED content that would be disclosed to the summarizer (instruction templates excluded — the disclosure line labels the figure accordingly).
included_classes: Vec<ContentClass>Content classes ACTUALLY PRESENT in the rendered request under this policy — absent classes are never claimed as disclosed.
excluded_classes: Vec<ContentClass>Content classes withheld by the policy.
base_prompt: &'static strThe instruction template this rendering selected (the UPDATE template when folding into a previous summary) — hashed into the outcome’s prompt-stack digest.
Trait Implementations§
Source§impl Clone for RenderedCompactionInput
impl Clone for RenderedCompactionInput
Source§fn clone(&self) -> RenderedCompactionInput
fn clone(&self) -> RenderedCompactionInput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RenderedCompactionInput
impl Debug for RenderedCompactionInput
Source§impl PartialEq for RenderedCompactionInput
impl PartialEq for RenderedCompactionInput
impl StructuralPartialEq for RenderedCompactionInput
Auto Trait Implementations§
impl Freeze for RenderedCompactionInput
impl RefUnwindSafe for RenderedCompactionInput
impl Send for RenderedCompactionInput
impl Sync for RenderedCompactionInput
impl Unpin for RenderedCompactionInput
impl UnsafeUnpin for RenderedCompactionInput
impl UnwindSafe for RenderedCompactionInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.