pub struct CompletionObservation {
pub input_tokens: u64,
pub output_tokens: u64,
pub model: String,
pub provider: String,
pub success: bool,
pub outcome_signals: Vec<OutcomeSignal>,
pub proxy_economics: Option<ProxyEconomicsObservation>,
pub heatmap: Option<HeatmapObservation>,
}Fields§
§input_tokens: u64§output_tokens: u64§model: String§provider: String§success: bool§outcome_signals: Vec<OutcomeSignal>Evidence-bearing legacy signals. An empty set never implies acceptance.
proxy_economics: Option<ProxyEconomicsObservation>§heatmap: Option<HeatmapObservation>Implementations§
Trait Implementations§
Source§impl Clone for CompletionObservation
impl Clone for CompletionObservation
Auto Trait Implementations§
impl Forget for CompletionObservation
impl Freeze for CompletionObservation
impl Move for CompletionObservation
impl RefUnwindSafe for CompletionObservation
impl Send for CompletionObservationwhere
RawVecInner: Send,
impl Sync for CompletionObservationwhere
RawVecInner: Sync,
impl Unpin for CompletionObservation
impl UnsafeUnpin for CompletionObservationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<OutcomeSignal>: UnsafeUnpin,
impl UnwindSafe for CompletionObservationwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more