pub struct ProviderReportedCost {
pub amount_micros: u64,
pub currency: String,
}Expand description
Provider-reported monetary cost from a model response.
Fields§
§amount_micros: u64Cost in integer currency micro-units.
currency: StringImplementations§
Trait Implementations§
Source§impl Clone for ProviderReportedCost
impl Clone for ProviderReportedCost
Source§impl Debug for ProviderReportedCost
impl Debug for ProviderReportedCost
impl Eq for ProviderReportedCost
Source§impl PartialEq for ProviderReportedCost
impl PartialEq for ProviderReportedCost
impl StructuralPartialEq for ProviderReportedCost
Auto Trait Implementations§
impl Freeze for ProviderReportedCost
impl RefUnwindSafe for ProviderReportedCost
impl Send for ProviderReportedCost
impl Sync for ProviderReportedCost
impl Unpin for ProviderReportedCost
impl UnsafeUnpin for ProviderReportedCost
impl UnwindSafe for ProviderReportedCost
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.