pub struct Output {
pub request_id: Uuid,
pub token_id: Option<u32>,
pub completed: bool,
pub rejected: bool,
pub cached_tokens: Option<usize>,
}Expand description
One client-visible output.
Fields§
§request_id: UuidRequest producing the output.
token_id: Option<u32>Generated token, or None for a terminal-without-token signal.
completed: boolWhether request ownership ended with this output.
rejected: boolWhether admission rejected the request as physically impossible.
cached_tokens: Option<usize>Prompt tokens served from KV cache at first admission, reported once on the request’s first output.
Trait Implementations§
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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