pub struct RenderedFrame {
pub frame: FrameId,
pub representation: Representation,
pub token_cost: u32,
pub citation_label: Option<String>,
}Expand description
One frame at its point of use: the identity that names its exact bytes, what rendering it was given, what the harness declared it cost, and the label a human would see it cited under.
Fields§
§frame: FrameId§representation: RepresentationHow the frame was carried into the prompt. Absent ⇒ full, matching
the frame wire shape.
token_cost: u32The inline token cost the harness accounted for this frame at
assembly. A reference frame inlines nothing, so it MUST be 0.
citation_label: Option<String>The citation label at the point of use — §F3’s “never a bare uuid”, held where it actually matters: the prompt.
Trait Implementations§
Source§impl Clone for RenderedFrame
impl Clone for RenderedFrame
Source§fn clone(&self) -> RenderedFrame
fn clone(&self) -> RenderedFrame
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 RenderedFrame
impl Debug for RenderedFrame
Source§impl<'de> Deserialize<'de> for RenderedFrame
impl<'de> Deserialize<'de> for RenderedFrame
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
Source§impl PartialEq for RenderedFrame
impl PartialEq for RenderedFrame
Source§impl Serialize for RenderedFrame
impl Serialize for RenderedFrame
impl StructuralPartialEq for RenderedFrame
Auto Trait Implementations§
impl Freeze for RenderedFrame
impl RefUnwindSafe for RenderedFrame
impl Send for RenderedFrame
impl Sync for RenderedFrame
impl Unpin for RenderedFrame
impl UnsafeUnpin for RenderedFrame
impl UnwindSafe for RenderedFrame
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