pub struct NodeCost {
pub node_name: String,
pub node_type: String,
pub cost_usd: f64,
pub expected_executions: u32,
pub components: Vec<CostComponent>,
}Expand description
Cost for a single node
Fields§
§node_name: StringNode name
node_type: StringNode type
cost_usd: f64Estimated cost in USD
expected_executions: u32Number of expected executions (for loops, retries, etc.)
components: Vec<CostComponent>Breakdown of cost components
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeCost
impl<'de> Deserialize<'de> for NodeCost
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 NodeCost
impl RefUnwindSafe for NodeCost
impl Send for NodeCost
impl Sync for NodeCost
impl Unpin for NodeCost
impl UnwindSafe for NodeCost
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