pub struct Estimate {
pub tasks: usize,
pub per_task: Usage,
pub ticks: usize,
pub total: Usage,
}Expand description
What a run of the open tasks will likely cost: the project’s average per ticked task, times the tasks.
Fields§
§tasks: usizeThe tasks a run would attempt.
per_task: UsageThe average per ticked task.
ticks: usizeThe ticked tasks the average rests on.
total: Usageper_task × tasks.
Trait Implementations§
Source§impl JsonSchema for Estimate
impl JsonSchema for Estimate
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 moreimpl StructuralPartialEq for Estimate
Auto Trait Implementations§
impl Forget for Estimate
impl Freeze for Estimate
impl RefUnwindSafe for Estimate
impl Send for Estimate
impl Sync for Estimate
impl Unpin for Estimate
impl UnsafeUnpin for Estimate
impl UnwindSafe for Estimate
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