pub struct GenericUsageReport {
pub prompt_tokens: i64,
pub completion_tokens: i64,
pub total_tokens: i64,
}Fields§
§prompt_tokens: i64§completion_tokens: i64§total_tokens: i64Trait Implementations§
Source§impl Clone for GenericUsageReport
impl Clone for GenericUsageReport
Source§fn clone(&self) -> GenericUsageReport
fn clone(&self) -> GenericUsageReport
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 moreAuto Trait Implementations§
impl Freeze for GenericUsageReport
impl RefUnwindSafe for GenericUsageReport
impl Send for GenericUsageReport
impl Sync for GenericUsageReport
impl Unpin for GenericUsageReport
impl UnwindSafe for GenericUsageReport
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