pub struct CostAnswer {
pub total: UsdMicros,
pub by_run: Vec<(String, UsdMicros)>,
pub by_actor: Vec<(String, UsdMicros)>,
pub by_segment: Vec<(String, UsdMicros)>,
pub by_tool: Vec<(String, UsdMicros)>,
pub by_skill: Vec<(String, UsdMicros)>,
pub unpriced: UnpricedCalls,
pub renewals: Renewals,
}Expand description
The five cuts of one authoritative total. Four cuts sum to total;
by_run names the active runs and the few billed most, so it may sum
to less. Shares render against total, so a remainder stays visible.
Fields§
§total: UsdMicros§by_run: Vec<(String, UsdMicros)>§by_actor: Vec<(String, UsdMicros)>§by_segment: Vec<(String, UsdMicros)>§by_tool: Vec<(String, UsdMicros)>§by_skill: Vec<(String, UsdMicros)>§unpriced: UnpricedCallsThe calls no provider priced, which total cannot show.
renewals: RenewalsThe keep-warm renewals: their spend, already inside total, and
how many there were by what each showed.
Trait Implementations§
Source§impl Clone for CostAnswer
impl Clone for CostAnswer
Source§impl Debug for CostAnswer
impl Debug for CostAnswer
Source§impl<'de> Deserialize<'de> for CostAnswer
impl<'de> Deserialize<'de> for CostAnswer
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 CostAnswer
Source§impl PartialEq for CostAnswer
impl PartialEq for CostAnswer
Source§impl Serialize for CostAnswer
impl Serialize for CostAnswer
impl StructuralPartialEq for CostAnswer
Auto Trait Implementations§
impl Freeze for CostAnswer
impl RefUnwindSafe for CostAnswer
impl Send for CostAnswer
impl Sync for CostAnswer
impl Unpin for CostAnswer
impl UnsafeUnpin for CostAnswer
impl UnwindSafe for CostAnswer
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