pub struct EmbedUsage {
pub total_tokens: u32,
}Expand description
Usage statistics for embedding operations.
Fields§
§total_tokens: u32Total tokens processed.
Trait Implementations§
Source§impl Clone for EmbedUsage
impl Clone for EmbedUsage
Source§fn clone(&self) -> EmbedUsage
fn clone(&self) -> EmbedUsage
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 moreSource§impl Debug for EmbedUsage
impl Debug for EmbedUsage
Source§impl Default for EmbedUsage
impl Default for EmbedUsage
Source§fn default() -> EmbedUsage
fn default() -> EmbedUsage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EmbedUsage
impl RefUnwindSafe for EmbedUsage
impl Send for EmbedUsage
impl Sync for EmbedUsage
impl Unpin for EmbedUsage
impl UnwindSafe for EmbedUsage
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