pub struct CostOfAnswer {
pub node: NodeId,
pub spent: UsdMicros,
pub runs: Vec<(RunId, UsdMicros)>,
}Expand description
What one plan node cost, and which runs spent it.
Fields§
§node: NodeId§spent: UsdMicrosThe sum of runs, so a reader draws the figure without adding
the rows up and getting a different number.
runs: Vec<(RunId, UsdMicros)>One entry per run that claimed this node, in run order.
Trait Implementations§
Source§impl Clone for CostOfAnswer
impl Clone for CostOfAnswer
Source§impl Debug for CostOfAnswer
impl Debug for CostOfAnswer
Source§impl<'de> Deserialize<'de> for CostOfAnswer
impl<'de> Deserialize<'de> for CostOfAnswer
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
impl Eq for CostOfAnswer
Source§impl PartialEq for CostOfAnswer
impl PartialEq for CostOfAnswer
Source§impl Serialize for CostOfAnswer
impl Serialize for CostOfAnswer
impl StructuralPartialEq for CostOfAnswer
Auto Trait Implementations§
impl Freeze for CostOfAnswer
impl RefUnwindSafe for CostOfAnswer
impl Send for CostOfAnswer
impl Sync for CostOfAnswer
impl Unpin for CostOfAnswer
impl UnsafeUnpin for CostOfAnswer
impl UnwindSafe for CostOfAnswer
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