use crate::histogram::Histogram;
#[derive(Debug, Clone)]
pub struct Series<T> {
pub(crate) name: String,
pub(crate) histogram: Histogram<T>,
}
impl<T> Series<T> {
pub fn new(name: impl ToString, histogram: Histogram<T>) -> Self {
Self {
name: name.to_string(),
histogram,
}
}
}