pub trait StorageEntryMetadataBuilder {
fn build_metadata(
doc: Vec<&'static str>,
entries: &mut Vec<StorageEntryMetadata>
);
}
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(
doc: Vec<&'static str>,
entries: &mut Vec<StorageEntryMetadata>
)
fn build_metadata(
doc: Vec<&'static str>,
entries: &mut Vec<StorageEntryMetadata>
)
Build into entries
the storage metadata entries of a storage given some docs
.