pub struct SourceRequestExpectation {
pub input_length: Option<usize>,
pub cache_read_input_tokens: Option<usize>,
pub cache_creation_input_tokens: Option<usize>,
pub output_length: Option<usize>,
pub request_start_ms: i64,
pub assistant_end_ms: i64,
}Fields§
§input_length: Option<usize>§cache_read_input_tokens: Option<usize>§cache_creation_input_tokens: Option<usize>§output_length: Option<usize>§request_start_ms: i64§assistant_end_ms: i64Trait Implementations§
Source§impl Clone for SourceRequestExpectation
impl Clone for SourceRequestExpectation
Source§fn clone(&self) -> SourceRequestExpectation
fn clone(&self) -> SourceRequestExpectation
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 SourceRequestExpectation
impl Debug for SourceRequestExpectation
Source§impl Default for SourceRequestExpectation
impl Default for SourceRequestExpectation
Source§fn default() -> SourceRequestExpectation
fn default() -> SourceRequestExpectation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SourceRequestExpectation
impl RefUnwindSafe for SourceRequestExpectation
impl Send for SourceRequestExpectation
impl Sync for SourceRequestExpectation
impl Unpin for SourceRequestExpectation
impl UnsafeUnpin for SourceRequestExpectation
impl UnwindSafe for SourceRequestExpectation
Blanket Implementations§
impl<T> BlockMetadata for T
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,
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