pub struct CompressionReport {Show 23 fields
pub schema_version: String,
pub original_tokens: usize,
pub compressed_tokens: usize,
pub saved_tokens: usize,
pub savings_ratio: f64,
pub savings_pct: f64,
pub estimator: EstimatorInfo,
pub status: Status,
pub mode: String,
pub format: String,
pub task_scope: String,
pub request_id: Option<String>,
pub pipeline: Option<PipelineReport>,
pub quality: Option<QualityReport>,
pub budget: Option<BudgetReport>,
pub cache: Option<CacheReport>,
pub retrieval: Option<RetrievalReport>,
pub output_savings: Option<OutputSavingsReport>,
pub bypass: Option<BypassReport>,
pub command: Option<CommandReport>,
pub ledger: Option<LedgerReport>,
pub transforms: Vec<TransformReport>,
pub warnings: Vec<Warning>,
}Fields§
§schema_version: String§original_tokens: usize§compressed_tokens: usize§saved_tokens: usize§savings_ratio: f64§savings_pct: f64§estimator: EstimatorInfo§status: Status§mode: String§format: String§task_scope: String§request_id: Option<String>§pipeline: Option<PipelineReport>F-055: staged raw -> RTK -> tokenfold accounting. None for the common
single-stage path; populated only by RTK-composed wrap --rtk runs.
quality: Option<QualityReport>§budget: Option<BudgetReport>§cache: Option<CacheReport>§retrieval: Option<RetrievalReport>§output_savings: Option<OutputSavingsReport>§bypass: Option<BypassReport>§command: Option<CommandReport>§ledger: Option<LedgerReport>§transforms: Vec<TransformReport>§warnings: Vec<Warning>Implementations§
Trait Implementations§
Source§impl Clone for CompressionReport
impl Clone for CompressionReport
Source§fn clone(&self) -> CompressionReport
fn clone(&self) -> CompressionReport
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 CompressionReport
impl Debug for CompressionReport
Source§impl<'de> Deserialize<'de> for CompressionReport
impl<'de> Deserialize<'de> for CompressionReport
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 CompressionReport
impl PartialEq for CompressionReport
Source§impl Serialize for CompressionReport
impl Serialize for CompressionReport
impl StructuralPartialEq for CompressionReport
Auto Trait Implementations§
impl Freeze for CompressionReport
impl RefUnwindSafe for CompressionReport
impl Send for CompressionReport
impl Sync for CompressionReport
impl Unpin for CompressionReport
impl UnsafeUnpin for CompressionReport
impl UnwindSafe for CompressionReport
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