pub struct CostReport {
pub feature: String,
pub tasks: Vec<TaskCost>,
pub convergence: Usage,
pub total: Usage,
pub priced_model: Option<String>,
}Expand description
Result of speccoder report --cost.
Fields§
§feature: StringFeature directory name.
tasks: Vec<TaskCost>Per task, every attempt counted (passed and saved).
convergence: UsageConvergence assessments.
total: UsageEverything.
priced_model: Option<String>The model the prices apply to, when prices are configured.
Trait Implementations§
Source§impl Clone for CostReport
impl Clone for CostReport
Source§impl Debug for CostReport
impl Debug for CostReport
Source§impl JsonSchema for CostReport
impl JsonSchema for CostReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CostReport
impl PartialEq for CostReport
Source§impl Serialize for CostReport
impl Serialize for CostReport
impl StructuralPartialEq for CostReport
Auto Trait Implementations§
impl Freeze for CostReport
impl RefUnwindSafe for CostReport
impl Send for CostReport
impl Sync for CostReport
impl Unpin for CostReport
impl UnsafeUnpin for CostReport
impl UnwindSafe for CostReport
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