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