pub struct StreamMetrics {
pub stream_id: String,
pub bytes_processed: u64,
pub chunks_processed: u64,
pub dropped_chunks: u64,
pub average_chunk_size: f64,
pub buffer_utilization: f64,
pub last_updated: DateTime<Utc>,
}Fields§
§stream_id: String§bytes_processed: u64§chunks_processed: u64§dropped_chunks: u64§average_chunk_size: f64§buffer_utilization: f64§last_updated: DateTime<Utc>Trait 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 · 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
Auto Trait Implementations§
impl Freeze for StreamMetrics
impl RefUnwindSafe for StreamMetrics
impl Send for StreamMetrics
impl Sync for StreamMetrics
impl Unpin 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