pub struct EmbeddingsListUsage {
pub total_tokens: i32,
}
Expand description
EmbeddingsListUsage : Usage statistics for model inference including any instruction prefixes
Fields§
§total_tokens: i32
The total number of tokens processed.
Trait Implementations§
Source§impl Clone for EmbeddingsListUsage
impl Clone for EmbeddingsListUsage
Source§fn clone(&self) -> EmbeddingsListUsage
fn clone(&self) -> EmbeddingsListUsage
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 EmbeddingsListUsage
impl Debug for EmbeddingsListUsage
Source§impl Default for EmbeddingsListUsage
impl Default for EmbeddingsListUsage
Source§fn default() -> EmbeddingsListUsage
fn default() -> EmbeddingsListUsage
Returns the “default value” for a type. Read more
Source§impl PartialEq for EmbeddingsListUsage
impl PartialEq for EmbeddingsListUsage
impl StructuralPartialEq for EmbeddingsListUsage
Auto Trait Implementations§
impl Freeze for EmbeddingsListUsage
impl RefUnwindSafe for EmbeddingsListUsage
impl Send for EmbeddingsListUsage
impl Sync for EmbeddingsListUsage
impl Unpin for EmbeddingsListUsage
impl UnwindSafe for EmbeddingsListUsage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request