pub struct TopicStat {
pub topic: String,
pub received: u64,
pub captured: u64,
pub bytes_captured: u64,
}Expand description
Per-topic statistics.
Fields§
§topic: StringTopic name.
received: u64Messages received on this topic.
captured: u64Messages captured (after decimation).
bytes_captured: u64Total bytes of captured message data.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TopicStat
impl<'de> Deserialize<'de> for TopicStat
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 TopicStat
impl RefUnwindSafe for TopicStat
impl Send for TopicStat
impl Sync for TopicStat
impl Unpin for TopicStat
impl UnsafeUnpin for TopicStat
impl UnwindSafe for TopicStat
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