referrerpolicy=no-referrer-when-downgrade
frame_support::view_functions

Trait ViewFunctionIdSuffix

Source
pub trait ViewFunctionIdSuffix {
    const SUFFIX: [u8; 16];
}
Expand description

Automatically implemented for each pallet view function method by the macro pallet.

Required Associated Constants§

Source

const SUFFIX: [u8; 16]

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.

Implementors§

impl<T: Config<I>, I: 'static> ViewFunctionIdSuffix for ScoresViewFunction<T, I>

impl<T: Config> ViewFunctionIdSuffix for DepositForViewFunction<T>

impl<T: Config> ViewFunctionIdSuffix for GetValueViewFunction<T>
where T::AccountId: From<SomeType1> + SomeAssociation1,

impl<T: Config> ViewFunctionIdSuffix for GetValueWithArgViewFunction<T>
where T::AccountId: From<SomeType1> + SomeAssociation1,

impl<T: Config<I>, I: 'static> ViewFunctionIdSuffix for GetValueViewFunction<T, I>
where T::AccountId: From<SomeType1> + SomeAssociation1,

impl<T: Config<I>, I: 'static> ViewFunctionIdSuffix for GetValueWithArgViewFunction<T, I>
where T::AccountId: From<SomeType1> + SomeAssociation1,

impl<T: Config> ViewFunctionIdSuffix for CheckPermissionsViewFunction<T>

impl<T: Config> ViewFunctionIdSuffix for IsSupersetViewFunction<T>

impl<T: Config> ViewFunctionIdSuffix for RemoveUpgradeCooldownCostViewFunction<T>