pub struct StreamTiming { /* private fields */ }Expand description
Timing information for a streaming call
Implementations§
Source§impl StreamTiming
impl StreamTiming
Sourcepub fn start_time_utc_ms(&self) -> i64
pub fn start_time_utc_ms(&self) -> i64
Start time in UTC milliseconds since epoch
Sourcepub fn duration_ms(&self) -> Option<i64>
pub fn duration_ms(&self) -> Option<i64>
Duration in milliseconds (None if not yet completed)
Trait Implementations§
Source§impl BamlEncode for StreamTiming
impl BamlEncode for StreamTiming
Source§fn baml_encode(&self) -> HostValue
fn baml_encode(&self) -> HostValue
Encode to a
HostValue (inbound schema)Source§impl Clone for StreamTiming
impl Clone for StreamTiming
Source§fn clone(&self) -> StreamTiming
fn clone(&self) -> StreamTiming
Returns a duplicate of the value. Read more
1.0.0 · 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 StreamTiming
impl RefUnwindSafe for StreamTiming
impl Send for StreamTiming
impl Sync for StreamTiming
impl Unpin for StreamTiming
impl UnwindSafe for StreamTiming
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