pub struct ModelAttribution {
pub model_id: String,
pub tokens_charged: u64,
pub cost_usd: f64,
pub period: String,
}Fields§
§model_id: String§tokens_charged: u64§cost_usd: f64§period: StringTrait Implementations§
Source§impl Clone for ModelAttribution
impl Clone for ModelAttribution
Source§fn clone(&self) -> ModelAttribution
fn clone(&self) -> ModelAttribution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModelAttribution
impl Debug for ModelAttribution
Source§impl<'de> Deserialize<'de> for ModelAttribution
impl<'de> Deserialize<'de> for ModelAttribution
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 ModelAttribution
impl RefUnwindSafe for ModelAttribution
impl Send for ModelAttribution
impl Sync for ModelAttribution
impl Unpin for ModelAttribution
impl UnsafeUnpin for ModelAttribution
impl UnwindSafe for ModelAttribution
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