pub struct RenderedContext {
pub content: String,
pub content_hash: String,
pub token_count: u32,
pub sections: Vec<RenderedSection>,
pub truncation: Option<TruncationMetadata>,
pub tiers: Vec<RenderedTier>,
pub resolved_mode: KmpMode,
pub quality: BundleQualityMetrics,
}Fields§
§content: String§content_hash: StringSHA-256 hash of content — verifies the LLM received exactly what the kernel rendered.
token_count: u32§sections: Vec<RenderedSection>§truncation: Option<TruncationMetadata>§tiers: Vec<RenderedTier>Multi-resolution tiers (L0 Summary, L1 Causal Spine, L2 Evidence Pack).
resolved_mode: KmpModeThe mode that was actually used for tiered rendering.
quality: BundleQualityMetricsQuality and efficiency metrics for this render.
Trait Implementations§
Source§impl Clone for RenderedContext
impl Clone for RenderedContext
Source§fn clone(&self) -> RenderedContext
fn clone(&self) -> RenderedContext
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 moreSource§impl Debug for RenderedContext
impl Debug for RenderedContext
Source§impl PartialEq for RenderedContext
impl PartialEq for RenderedContext
impl StructuralPartialEq for RenderedContext
Auto Trait Implementations§
impl Freeze for RenderedContext
impl RefUnwindSafe for RenderedContext
impl Send for RenderedContext
impl Sync for RenderedContext
impl Unpin for RenderedContext
impl UnsafeUnpin for RenderedContext
impl UnwindSafe for RenderedContext
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