pub struct ArmResult {
pub arm_type: ArmType,
pub provider: String,
pub model: String,
pub commit_sha: String,
pub input_tokens: u64,
pub cached_tokens: u64,
pub output_tokens: u64,
pub cost_micros: u64,
pub latency_ms: u64,
pub output_content: String,
pub proxy_observed: bool,
pub measurement_method: String,
}Expand description
Measurements and response captured for one arm.
Fields§
§arm_type: ArmType§provider: StringProvider that executed this arm. Kept with the measurements so downstream receipts remain self-describing when persisted alone.
model: StringModel requested for this arm.
commit_sha: StringSource revision evaluated by this arm.
input_tokens: u64§cached_tokens: u64§output_tokens: u64§cost_micros: u64§latency_ms: u64§output_content: String§proxy_observed: bool§measurement_method: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for ArmResult
impl<'de> Deserialize<'de> for ArmResult
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
Auto Trait Implementations§
impl Freeze for ArmResult
impl RefUnwindSafe for ArmResult
impl Send for ArmResult
impl Sync for ArmResult
impl Unpin for ArmResult
impl UnsafeUnpin for ArmResult
impl UnwindSafe for ArmResult
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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