pub struct DebugCostProjection {Show 18 fields
pub currency: CommandCurrency,
pub total: f64,
pub parent_turns: f64,
pub subagents: f64,
pub display_floor: f64,
pub priced_turns: u32,
pub unpriced_turns: u32,
pub legacy_coverage_unknown: bool,
pub user_declared_estimates: bool,
pub itemized_turns: u32,
pub route_amounts: Vec<DebugRouteCost>,
pub turn_history_capacity: usize,
pub unpriced_reason_labels: Vec<String>,
pub unpriced_classes: Vec<String>,
pub pricing_provenances: Vec<String>,
pub live_pricing_defects: Vec<String>,
pub unusable_pricing_defects: Vec<String>,
pub route_receipts: Vec<String>,
}Expand description
Already-authoritative monetary values and bounded route attribution. Calculation and price/source selection stay with the TUI host; formatting, ordering and coverage wording belong to the portable handlers.
Fields§
§currency: CommandCurrency§total: f64§parent_turns: f64§subagents: f64§display_floor: f64§priced_turns: u32§unpriced_turns: u32§legacy_coverage_unknown: bool§user_declared_estimates: bool§itemized_turns: u32§route_amounts: Vec<DebugRouteCost>§turn_history_capacity: usize§unpriced_reason_labels: Vec<String>§unpriced_classes: Vec<String>§pricing_provenances: Vec<String>§live_pricing_defects: Vec<String>§unusable_pricing_defects: Vec<String>§route_receipts: Vec<String>Trait Implementations§
Source§impl Clone for DebugCostProjection
impl Clone for DebugCostProjection
Source§impl Debug for DebugCostProjection
impl Debug for DebugCostProjection
Source§impl PartialEq for DebugCostProjection
impl PartialEq for DebugCostProjection
impl StructuralPartialEq for DebugCostProjection
Auto Trait Implementations§
impl Forget for DebugCostProjection
impl Freeze for DebugCostProjection
impl Move for DebugCostProjection
impl RefUnwindSafe for DebugCostProjection
impl Send for DebugCostProjection
impl Sync for DebugCostProjection
impl Unpin for DebugCostProjection
impl UnsafeUnpin for DebugCostProjection
impl UnwindSafe for DebugCostProjection
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