pub struct PerfSample {
pub probe: String,
pub ttft_ms: Option<u64>,
pub latency_ms: u64,
pub output_tokens: u32,
}Fields§
§probe: String§ttft_ms: Option<u64>§latency_ms: u64§output_tokens: u32Implementations§
Trait Implementations§
Source§impl Clone for PerfSample
impl Clone for PerfSample
Source§fn clone(&self) -> PerfSample
fn clone(&self) -> PerfSample
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 moreAuto Trait Implementations§
impl Freeze for PerfSample
impl RefUnwindSafe for PerfSample
impl Send for PerfSample
impl Sync for PerfSample
impl Unpin for PerfSample
impl UnsafeUnpin for PerfSample
impl UnwindSafe for PerfSample
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