pub trait StorageEntryMetadataBuilder {
// Required method
fn build_metadata(
deprecation_status: DeprecationStatusIR,
doc: Vec<&'static str>,
entries: &mut Vec<StorageEntryMetadataIR>,
);
}
Expand description
Build the metadata of a storage.
Implemented by each of the storage types: value, map, countedmap, doublemap and nmap.
Required Methods§
sourcefn build_metadata(
deprecation_status: DeprecationStatusIR,
doc: Vec<&'static str>,
entries: &mut Vec<StorageEntryMetadataIR>,
)
fn build_metadata( deprecation_status: DeprecationStatusIR, doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadataIR>, )
Build into entries
the storage metadata entries of a storage given some docs
.
Object Safety§
This trait is not object safe.