use fuel_core_storage::{
Mappable,
blueprint::plain::Plain,
codec::postcard::Postcard,
structured_storage::TableWithBlueprint,
};
pub struct StatisticTable<V>(core::marker::PhantomData<V>);
impl<V> Mappable for StatisticTable<V>
where
V: Clone,
{
type Key = str;
type OwnedKey = String;
type Value = V;
type OwnedValue = V;
}
impl<V> TableWithBlueprint for StatisticTable<V>
where
V: Clone,
{
type Blueprint = Plain<Postcard, Postcard>;
type Column = super::Column;
fn column() -> Self::Column {
Self::Column::Statistic
}
}