Attribute Macro frame_support::pallet_macros::no_default_bounds

source ยท
#[no_default_bounds]
Expand description

Ensures the generated DefaultConfig will not have any bounds for that trait item.

Attaching this attribute to a trait item ensures that the generated trait DefaultConfig will not have any bounds for this trait item.

As an example, if you have a trait item type AccountId: SomeTrait; in your Config trait, the generated DefaultConfig will only have type AccountId; with no trait bound.


Documentation for this macro can be found at frame_support::pallet_macros::no_default_bounds.