pub struct PrefillOutput {
pub admitted_tokens: u64,
pub position: u64,
pub receipt: Option<PrefillReceipt>,
}Expand description
Result of one plain or controlled prefill call.
Fields§
§admitted_tokens: u64Tokens admitted by this call.
position: u64Final causal position.
receipt: Option<PrefillReceipt>Controlled-prefill accounting when an observer was supplied.
Trait Implementations§
Source§impl Clone for PrefillOutput
impl Clone for PrefillOutput
Source§fn clone(&self) -> PrefillOutput
fn clone(&self) -> PrefillOutput
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 moreSource§impl Debug for PrefillOutput
impl Debug for PrefillOutput
impl Eq for PrefillOutput
Source§impl PartialEq for PrefillOutput
impl PartialEq for PrefillOutput
impl StructuralPartialEq for PrefillOutput
Auto Trait Implementations§
impl Freeze for PrefillOutput
impl RefUnwindSafe for PrefillOutput
impl Send for PrefillOutput
impl Sync for PrefillOutput
impl Unpin for PrefillOutput
impl UnsafeUnpin for PrefillOutput
impl UnwindSafe for PrefillOutput
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