pub struct InferenceExecutionEvidence {
pub prompt_token_ids: Vec<TokenId>,
pub output_token_ids: Vec<TokenId>,
pub engine_token_timing: Option<EngineTokenTimingEvidence>,
}Expand description
Evidence captured at the engine execution boundary.
Fields§
§prompt_token_ids: Vec<TokenId>§output_token_ids: Vec<TokenId>Complete generated-token history at the engine boundary. Streaming chunks cannot reconstruct this reliably because special tokens and deferred multi-byte pieces may not produce a visible text delta.
engine_token_timing: Option<EngineTokenTimingEvidence>Trait Implementations§
Source§impl Clone for InferenceExecutionEvidence
impl Clone for InferenceExecutionEvidence
Source§fn clone(&self) -> InferenceExecutionEvidence
fn clone(&self) -> InferenceExecutionEvidence
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 InferenceExecutionEvidence
impl Debug for InferenceExecutionEvidence
Source§impl<'de> Deserialize<'de> for InferenceExecutionEvidence
impl<'de> Deserialize<'de> for InferenceExecutionEvidence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InferenceExecutionEvidence
impl StructuralPartialEq for InferenceExecutionEvidence
Auto Trait Implementations§
impl Freeze for InferenceExecutionEvidence
impl RefUnwindSafe for InferenceExecutionEvidence
impl Send for InferenceExecutionEvidence
impl Sync for InferenceExecutionEvidence
impl Unpin for InferenceExecutionEvidence
impl UnsafeUnpin for InferenceExecutionEvidence
impl UnwindSafe for InferenceExecutionEvidence
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