pub struct ABTestSide {
pub version: u32,
pub success: bool,
pub trace_id: u64,
pub steps_executed: usize,
pub latency_ms: u64,
pub tokens_input: u64,
pub tokens_output: u64,
pub errors: usize,
}Expand description
Result for one side of an A/B test.
Fields§
§version: u32§success: bool§trace_id: u64§steps_executed: usize§latency_ms: u64§tokens_input: u64§tokens_output: u64§errors: usizeTrait Implementations§
Source§impl Clone for ABTestSide
impl Clone for ABTestSide
Source§fn clone(&self) -> ABTestSide
fn clone(&self) -> ABTestSide
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 ABTestSide
impl Debug for ABTestSide
Auto Trait Implementations§
impl Freeze for ABTestSide
impl RefUnwindSafe for ABTestSide
impl Send for ABTestSide
impl Sync for ABTestSide
impl Unpin for ABTestSide
impl UnsafeUnpin for ABTestSide
impl UnwindSafe for ABTestSide
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreCreates a shared type from an unshared type.