pub struct CostEstimate {
pub worker_runs: f64,
pub validator_runs: f64,
pub low_usd: f64,
pub expected_usd: f64,
pub high_usd: f64,
pub shape: MissionShape,
pub confidence: Confidence,
}Expand description
A pre-mission cost estimate range. expected_usd is the central guess;
low_usd/high_usd bound it at 0.5x and 2.5x — real missions vary that
much. Live usage remains authoritative.
Fields§
§worker_runs: f64Expected worker session count (fractional — it is a rate, not a plan).
validator_runs: f64Expected validator session count.
low_usd: f64§expected_usd: f64§high_usd: f64§shape: MissionShapePlan-observable shape. estimate itself is shape-neutral and always
reports Unknown here — only apply_shape classifies it.
confidence: ConfidenceWhether the calibration corpus covers this shape. estimate always
reports High — only apply_shape can lower it.
Trait Implementations§
Source§impl Clone for CostEstimate
impl Clone for CostEstimate
Source§fn clone(&self) -> CostEstimate
fn clone(&self) -> CostEstimate
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 moreimpl Copy for CostEstimate
Source§impl Debug for CostEstimate
impl Debug for CostEstimate
Source§impl<'de> Deserialize<'de> for CostEstimate
impl<'de> Deserialize<'de> for CostEstimate
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 CostEstimate
impl PartialEq for CostEstimate
Source§impl Serialize for CostEstimate
impl Serialize for CostEstimate
impl StructuralPartialEq for CostEstimate
Auto Trait Implementations§
impl Freeze for CostEstimate
impl RefUnwindSafe for CostEstimate
impl Send for CostEstimate
impl Sync for CostEstimate
impl Unpin for CostEstimate
impl UnsafeUnpin for CostEstimate
impl UnwindSafe for CostEstimate
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