pub struct CostEstimate {
pub total_cost: f64,
pub estimated_time_ms: u64,
pub estimated_memory_bytes: u64,
pub estimated_io_ops: u64,
pub cost_breakdown: HashMap<String, f64>,
pub confidence: f64,
}Expand description
Cost estimation
Fields§
§total_cost: f64Total estimated cost (abstract units)
estimated_time_ms: u64Estimated execution time in milliseconds
estimated_memory_bytes: u64Estimated memory usage in bytes
estimated_io_ops: u64Estimated I/O operations
cost_breakdown: HashMap<String, f64>Cost breakdown by component
confidence: f64Confidence level (0.0-1.0)
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 · 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 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
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