pub struct ReplayProjection {
pub policy: String,
pub item_ids: Vec<String>,
pub rendered: String,
pub exact_bytes: ByteMeasurement,
pub estimated_tokens: TokenMeasurement,
pub receipts: Vec<ReplayReceipt>,
pub recovery_handles: Vec<String>,
}Expand description
The ephemeral projection and its deterministic measurements.
Fields§
§policy: StringPolicy name.
item_ids: Vec<String>Selected item ids in fixture order.
rendered: StringFramed provider-neutral projection text, retained only during replay.
exact_bytes: ByteMeasurementExact bytes of the projection text.
estimated_tokens: TokenMeasurementConservative estimate based on those exact bytes.
receipts: Vec<ReplayReceipt>Per-item selection receipts.
recovery_handles: Vec<String>Recovery handles present in the projection.
Trait Implementations§
Source§impl Clone for ReplayProjection
impl Clone for ReplayProjection
Source§fn clone(&self) -> ReplayProjection
fn clone(&self) -> ReplayProjection
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 ReplayProjection
impl Debug for ReplayProjection
impl Eq for ReplayProjection
Source§impl PartialEq for ReplayProjection
impl PartialEq for ReplayProjection
impl StructuralPartialEq for ReplayProjection
Auto Trait Implementations§
impl Freeze for ReplayProjection
impl RefUnwindSafe for ReplayProjection
impl Send for ReplayProjection
impl Sync for ReplayProjection
impl Unpin for ReplayProjection
impl UnsafeUnpin for ReplayProjection
impl UnwindSafe for ReplayProjection
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