Attribute Macro frame_support::pallet_macros::no_default

source ·
#[no_default]
Expand description

The optional attribute #[pallet::no_default] can be attached to trait items within a Config trait impl that has #[pallet::config(with_default)] attached.

Attaching this attribute to a trait item ensures that that trait item will not be used as a default with the #[derive_impl(..)] attribute macro.