pub type MaxSchemaSettingsPerSchema = ConstU32<2>;
Expand description

The maximum number of grants allowed per schema

Aliased Type§

struct MaxSchemaSettingsPerSchema;

Trait Implementations

§

impl<const T: u32> Debug for ConstU32<T>

§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<const T: u32> Default for ConstU32<T>

§

fn default() -> ConstU32<T>

Returns the “default value” for a type. Read more
§

impl<const T: u32> Clone for ConstU32<T>

§

fn clone(&self) -> ConstU32<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<const T: u32> Get<u32> for ConstU32<T>

§

fn get() -> u32

Return the current value.
§

impl<const T: u32> Get<Option<u32>> for ConstU32<T>

§

fn get() -> Option<u32>

Return the current value.
§

impl<const T: u32> TypedGet for ConstU32<T>

§

type Type = u32

The type which is returned.
§

fn get() -> u32

Return the current value.
§

impl<Call, Balance, const T: u32> EstimateCallFee<Call, Balance> for ConstU32<T>
where Balance: From<u32>,

§

fn estimate_call_fee(_: &Call, _: PostDispatchInfo) -> Balance

Estimate the fee of this call. Read more
§

impl<const Z: u32> ConsumerLimits for ConstU32<Z>

§

fn max_consumers() -> u32

The number of consumers over which inc_consumers will cease to work.
§

fn max_overflow() -> u32

The maximum number of additional consumers expected to be over be added at once using inc_consumers_without_limit. Read more