pub struct MetadataEvent {
pub usage: TokenUsage,
pub metrics: Metrics,
}Fields§
§usage: TokenUsage§metrics: MetricsTrait Implementations§
Source§impl Clone for MetadataEvent
impl Clone for MetadataEvent
Source§fn clone(&self) -> MetadataEvent
fn clone(&self) -> MetadataEvent
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 moreAuto Trait Implementations§
impl Freeze for MetadataEvent
impl RefUnwindSafe for MetadataEvent
impl Send for MetadataEvent
impl Sync for MetadataEvent
impl Unpin for MetadataEvent
impl UnsafeUnpin for MetadataEvent
impl UnwindSafe for MetadataEvent
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