pub struct CategoryCosts {
pub llm_total: f64,
pub vector_total: f64,
pub code_total: f64,
pub tool_total: f64,
pub other_total: f64,
}Expand description
Cost breakdown by category
Fields§
§llm_total: f64Total LLM costs
vector_total: f64Total vector database costs
code_total: f64Total code execution costs
tool_total: f64Total tool/MCP costs
other_total: f64Other costs
Trait Implementations§
Source§impl Clone for CategoryCosts
impl Clone for CategoryCosts
Source§fn clone(&self) -> CategoryCosts
fn clone(&self) -> CategoryCosts
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 CategoryCosts
impl Debug for CategoryCosts
Source§impl<'de> Deserialize<'de> for CategoryCosts
impl<'de> Deserialize<'de> for CategoryCosts
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 CategoryCosts
impl RefUnwindSafe for CategoryCosts
impl Send for CategoryCosts
impl Sync for CategoryCosts
impl Unpin for CategoryCosts
impl UnwindSafe for CategoryCosts
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