Struct frame_metadata::v14::StorageEntryMetadata
source · [−]pub struct StorageEntryMetadata<T: Form = MetaForm> {
pub name: T::String,
pub modifier: StorageEntryModifier,
pub ty: StorageEntryType<T>,
pub default: Vec<u8>,
pub docs: Vec<T::String>,
}
Expand description
Metadata about one storage entry.
Fields
name: T::String
modifier: StorageEntryModifier
ty: StorageEntryType<T>
default: Vec<u8>
docs: Vec<T::String>
Trait Implementations
type Output = StorageEntryMetadata<PortableForm>
type Output = StorageEntryMetadata<PortableForm>
The portable version of Self
.
Convert self
to the portable form by using the registry for caching.
impl<T: PartialEq + Form> PartialEq<StorageEntryMetadata<T>> for StorageEntryMetadata<T> where
T::String: PartialEq,
T::String: PartialEq,
impl<T: PartialEq + Form> PartialEq<StorageEntryMetadata<T>> for StorageEntryMetadata<T> where
T::String: PartialEq,
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<StorageEntryMetadata<T>> for StorageEntryMetadata<T> where
T::String: Encode,
T::String: Encode,
StorageEntryType<T>: Encode,
StorageEntryType<T>: Encode,
Vec<T::String>: Encode,
Vec<T::String>: Encode,
Auto Trait Implementations
impl<T> RefUnwindSafe for StorageEntryMetadata<T> where
<T as Form>::String: RefUnwindSafe,
<T as Form>::Type: RefUnwindSafe,
impl<T> Unpin for StorageEntryMetadata<T> where
<T as Form>::String: Unpin,
<T as Form>::Type: Unpin,
impl<T> UnwindSafe for StorageEntryMetadata<T> where
<T as Form>::String: UnwindSafe,
<T as Form>::Type: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more