Struct frame_metadata::v14::PalletStorageMetadata
source · [−]pub struct PalletStorageMetadata<T: Form = MetaForm> {
pub prefix: T::String,
pub entries: Vec<StorageEntryMetadata<T>>,
}
Expand description
All metadata of the pallet’s storage.
Fields
prefix: T::String
The common prefix used by all storage entries.
entries: Vec<StorageEntryMetadata<T>>
Trait Implementations
impl<T: Form> Decode for PalletStorageMetadata<T> where
T::String: Decode,
T::String: Decode,
Vec<StorageEntryMetadata<T>>: Decode,
Vec<StorageEntryMetadata<T>>: Decode,
impl<T: Form> Decode for PalletStorageMetadata<T> where
T::String: Decode,
T::String: Decode,
Vec<StorageEntryMetadata<T>>: Decode,
Vec<StorageEntryMetadata<T>>: Decode,
impl<T: Form> Encode for PalletStorageMetadata<T> where
T::String: Encode,
T::String: Encode,
Vec<StorageEntryMetadata<T>>: Encode,
Vec<StorageEntryMetadata<T>>: Encode,
impl<T: Form> Encode for PalletStorageMetadata<T> where
T::String: Encode,
T::String: Encode,
Vec<StorageEntryMetadata<T>>: Encode,
Vec<StorageEntryMetadata<T>>: Encode,
type Output = PalletStorageMetadata<PortableForm>
type Output = PalletStorageMetadata<PortableForm>
The portable version of Self
.
Convert self
to the portable form by using the registry for caching.
impl<T: PartialEq + Form> PartialEq<PalletStorageMetadata<T>> for PalletStorageMetadata<T> where
T::String: PartialEq,
impl<T: PartialEq + Form> PartialEq<PalletStorageMetadata<T>> for PalletStorageMetadata<T> where
T::String: PartialEq,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T: Form> EncodeLike<PalletStorageMetadata<T>> for PalletStorageMetadata<T> where
T::String: Encode,
T::String: Encode,
Vec<StorageEntryMetadata<T>>: Encode,
Vec<StorageEntryMetadata<T>>: Encode,
Auto Trait Implementations
impl<T> RefUnwindSafe for PalletStorageMetadata<T> where
<T as Form>::String: RefUnwindSafe,
<T as Form>::Type: RefUnwindSafe,
impl<T> Unpin for PalletStorageMetadata<T> where
<T as Form>::String: Unpin,
<T as Form>::Type: Unpin,
impl<T> UnwindSafe for PalletStorageMetadata<T> where
<T as Form>::String: UnwindSafe,
<T as Form>::Type: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more