pub struct UsageDelta {
pub usage: Usage,
}Expand description
Token usage delta/update.
Fields§
§usage: UsageUsage counters.
Trait Implementations§
Source§impl Clone for UsageDelta
impl Clone for UsageDelta
Source§fn clone(&self) -> UsageDelta
fn clone(&self) -> UsageDelta
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 UsageDelta
impl Debug for UsageDelta
Source§impl PartialEq for UsageDelta
impl PartialEq for UsageDelta
Source§impl StreamEvent for UsageDelta
impl StreamEvent for UsageDelta
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Stable event type emitted on the wire.
impl StructuralPartialEq for UsageDelta
Auto Trait Implementations§
impl Freeze for UsageDelta
impl RefUnwindSafe for UsageDelta
impl Send for UsageDelta
impl Sync for UsageDelta
impl Unpin for UsageDelta
impl UnsafeUnpin for UsageDelta
impl UnwindSafe for UsageDelta
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