Skip to main content

mocra_core/common/
stream_stats.rs

1use crate::cacheable::CacheAble;
2use serde::{Deserialize, Serialize};
3#[derive(Serialize, Deserialize)]
4/// is close or not
5pub struct StreamStats(pub bool);
6impl CacheAble for StreamStats {
7    fn field() -> impl AsRef<str> {
8        "stream_stats"
9    }
10}