pub trait StorageEntryMetadataBuilder {
// Required method
fn build_metadata(
deprecation_status: ItemDeprecationInfoIR,
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: ItemDeprecationInfoIR,
doc: Vec<&'static str>,
entries: &mut Vec<StorageEntryMetadataIR>,
)
fn build_metadata( deprecation_status: ItemDeprecationInfoIR, doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadataIR>, )
Build into entries the storage metadata entries of a storage given some docs.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.