pub struct UsageObservation {
pub model: String,
pub usage: TokenUsage,
}Fields§
§model: String§usage: TokenUsageTrait Implementations§
Source§impl Clone for UsageObservation
impl Clone for UsageObservation
Source§fn clone(&self) -> UsageObservation
fn clone(&self) -> UsageObservation
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 UsageObservation
impl Debug for UsageObservation
impl Eq for UsageObservation
Source§impl PartialEq for UsageObservation
impl PartialEq for UsageObservation
impl StructuralPartialEq for UsageObservation
Auto Trait Implementations§
impl Freeze for UsageObservation
impl RefUnwindSafe for UsageObservation
impl Send for UsageObservation
impl Sync for UsageObservation
impl Unpin for UsageObservation
impl UnsafeUnpin for UsageObservation
impl UnwindSafe for UsageObservation
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