pub struct ProjectionReport {
pub policy: String,
pub exact_bytes: ByteMeasurement,
pub estimated_tokens: TokenMeasurement,
pub projection_digest: String,
pub item_count: usize,
pub receipts: Vec<ReplayReceipt>,
pub required_facts: Vec<RequiredFactResult>,
pub recovery: Vec<RecoveryOutcome>,
pub elapsed_micros: u64,
}Expand description
Reportable measurements and invariants for one policy.
Fields§
§policy: StringPolicy name.
exact_bytes: ByteMeasurementExact projection bytes.
estimated_tokens: TokenMeasurementEstimated projection tokens.
projection_digest: StringStable digest of the projection without persisting its body.
item_count: usizeNumber of selected items.
receipts: Vec<ReplayReceipt>Selection/reduction receipts.
required_facts: Vec<RequiredFactResult>Required facts and their supporting selected items.
recovery: Vec<RecoveryOutcome>Recovery outcomes.
elapsed_micros: u64Elapsed evaluator time in microseconds; zero in deterministic mode.
Trait Implementations§
Source§impl Clone for ProjectionReport
impl Clone for ProjectionReport
Source§fn clone(&self) -> ProjectionReport
fn clone(&self) -> ProjectionReport
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 ProjectionReport
impl Debug for ProjectionReport
Source§impl<'de> Deserialize<'de> for ProjectionReport
impl<'de> Deserialize<'de> for ProjectionReport
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
impl Eq for ProjectionReport
Source§impl PartialEq for ProjectionReport
impl PartialEq for ProjectionReport
Source§impl Serialize for ProjectionReport
impl Serialize for ProjectionReport
impl StructuralPartialEq for ProjectionReport
Auto Trait Implementations§
impl Freeze for ProjectionReport
impl RefUnwindSafe for ProjectionReport
impl Send for ProjectionReport
impl Sync for ProjectionReport
impl Unpin for ProjectionReport
impl UnsafeUnpin for ProjectionReport
impl UnwindSafe for ProjectionReport
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