pub struct CostState {
pub total_cents: u64,
pub api_call_count: u64,
pub input_tokens: u64,
pub output_tokens: u64,
}Fields§
§total_cents: u64§api_call_count: u64§input_tokens: u64§output_tokens: u64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CostState
impl RefUnwindSafe for CostState
impl Send for CostState
impl Sync for CostState
impl Unpin for CostState
impl UnsafeUnpin for CostState
impl UnwindSafe for CostState
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