pub enum CostSource {
Reported,
RateCard,
Unreported,
}Expand description
Where a cost figure came from, worst-first. reported is the only kind worth billing
against; rate_card was derived from token counts and published prices; unreported
means the runner said nothing, so the figure is zero and means nothing.
Variants§
Trait Implementations§
Source§impl Clone for CostSource
impl Clone for CostSource
impl Copy for CostSource
Source§impl Debug for CostSource
impl Debug for CostSource
Source§impl<'de> Deserialize<'de> for CostSource
impl<'de> Deserialize<'de> for CostSource
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 CostSource
Source§impl PartialEq for CostSource
impl PartialEq for CostSource
Source§impl Serialize for CostSource
impl Serialize for CostSource
impl StructuralPartialEq for CostSource
Auto Trait Implementations§
impl Freeze for CostSource
impl RefUnwindSafe for CostSource
impl Send for CostSource
impl Sync for CostSource
impl Unpin for CostSource
impl UnsafeUnpin for CostSource
impl UnwindSafe for CostSource
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