pub struct StreamMetrics {
pub phase: ModelStepContentPhase,
pub first_delta_at_ms: i64,
pub last_delta_at_ms: i64,
pub chunk_count: u64,
pub utf8_bytes: u64,
pub longest_gap_ms: u64,
}Expand description
Delivery metrics for one typed text stream within a completed model step.
Fields§
§phase: ModelStepContentPhase§first_delta_at_ms: i64§last_delta_at_ms: i64§chunk_count: u64§utf8_bytes: u64§longest_gap_ms: u64Trait Implementations§
Source§impl Clone for StreamMetrics
impl Clone for StreamMetrics
Source§fn clone(&self) -> StreamMetrics
fn clone(&self) -> StreamMetrics
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 StreamMetrics
impl Debug for StreamMetrics
Source§impl<'de> Deserialize<'de> for StreamMetrics
impl<'de> Deserialize<'de> for StreamMetrics
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
impl Eq for StreamMetrics
Source§impl PartialEq for StreamMetrics
impl PartialEq for StreamMetrics
Source§impl Serialize for StreamMetrics
impl Serialize for StreamMetrics
impl StructuralPartialEq for StreamMetrics
Auto Trait Implementations§
impl Freeze for StreamMetrics
impl RefUnwindSafe for StreamMetrics
impl Send for StreamMetrics
impl Sync for StreamMetrics
impl Unpin for StreamMetrics
impl UnsafeUnpin for StreamMetrics
impl UnwindSafe for StreamMetrics
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.