pub struct EmbedEndEvent {
pub call_id: String,
pub embedding_count: usize,
pub tokens: Option<u64>,
pub duration: Duration,
}Expand description
An embedding call finished.
Fields§
§call_id: StringCall id.
embedding_count: usizeNumber of embeddings.
tokens: Option<u64>Tokens used, if reported.
duration: DurationWall time.
Trait Implementations§
Source§impl Clone for EmbedEndEvent
impl Clone for EmbedEndEvent
Source§fn clone(&self) -> EmbedEndEvent
fn clone(&self) -> EmbedEndEvent
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 EmbedEndEvent
impl RefUnwindSafe for EmbedEndEvent
impl Send for EmbedEndEvent
impl Sync for EmbedEndEvent
impl Unpin for EmbedEndEvent
impl UnsafeUnpin for EmbedEndEvent
impl UnwindSafe for EmbedEndEvent
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