use fuel_core_storage::{ blueprint::plain::Plain, codec::postcard::Postcard, structured_storage::TableWithBlueprint, Mappable, }; /// The table that stores all statistic about blockchain. Each key is a string, while the value /// depends on the context. pub struct StatisticTable(core::marker::PhantomData); impl Mappable for StatisticTable where V: Clone, { type Key = str; type OwnedKey = String; type Value = V; type OwnedValue = V; } impl TableWithBlueprint for StatisticTable where V: Clone, { type Blueprint = Plain; type Column = super::Column; fn column() -> Self::Column { Self::Column::Statistic } }