pub struct PrefillResult {
pub tokens_processed: usize,
}Expand description
Result of the prefill phase (prompt processing).
Fields§
§tokens_processed: usizeNumber of tokens processed.
Trait Implementations§
Source§impl Clone for PrefillResult
impl Clone for PrefillResult
Source§fn clone(&self) -> PrefillResult
fn clone(&self) -> PrefillResult
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 moreAuto Trait Implementations§
impl Freeze for PrefillResult
impl RefUnwindSafe for PrefillResult
impl Send for PrefillResult
impl Sync for PrefillResult
impl Unpin for PrefillResult
impl UnsafeUnpin for PrefillResult
impl UnwindSafe for PrefillResult
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